mirror of https://github.com/arendst/Tasmota.git
Make CORS to be optional
This commit is contained in:
parent
066c9f16d8
commit
0b754a95a7
|
@ -173,7 +173,8 @@
|
|||
#define FRIENDLY_NAME "Tasmota" // [FriendlyName] Friendlyname up to 32 characters used by webpages and Alexa
|
||||
#define EMULATION EMUL_NONE // [Emulation] Select Belkin WeMo (single relay/light) or Hue Bridge emulation (multi relay/light) (EMUL_NONE, EMUL_WEMO or EMUL_HUE)
|
||||
#define EMULATION_HUE_1ST_GEN false // [Emulation] Force SetOption109 1 - if you only have Echo Dot 2nd gen devices
|
||||
#define CORS_DOMAIN "" // [Cors] CORS Domain for preflight requests
|
||||
//#define USE_CORS // [Cors] Enable CORS - Be aware that this feature is unsecure ATM (https://github.com/arendst/Tasmota/issues/6767)
|
||||
#define CORS_DOMAIN "" // [Cors] CORS Domain for preflight requests
|
||||
|
||||
// -- HTTP Options --------------------------------
|
||||
#define GUI_SHOW_HOSTNAME false // [SetOption53] Show hostname and IP address in GUI main menu
|
||||
|
|
Loading…
Reference in New Issue