mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
some minor formatting
This commit is contained in:
@@ -40,6 +40,11 @@ ESP8266React::ESP8266React(AsyncWebServer * server, FS * fs)
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
// only added for local testing (CORS)
|
||||
// DefaultHeaders::Instance().addHeader("Access-Control-Allow-Headers", "Accept, Content-Type, Authorization");
|
||||
// DefaultHeaders::Instance().addHeader("Access-Control-Allow-Credentials", "true");
|
||||
// DefaultHeaders::Instance().addHeader("Access-Control-Allow-Origin", "*");
|
||||
}
|
||||
|
||||
void ESP8266React::begin() {
|
||||
|
||||
Reference in New Issue
Block a user