diff --git a/src/app.cpp b/src/app.cpp index 8289737..53c8034 100644 --- a/src/app.cpp +++ b/src/app.cpp @@ -103,7 +103,9 @@ void setupApp() }); // CORS - //DefaultHeaders::Instance().addHeader("Access-Control-Allow-Origin", "*"); + DefaultHeaders::Instance().addHeader("Access-Control-Allow-Origin", "*"); + //DefaultHeaders::Instance().addHeader("Access-Control-Allow-Headers", "content-type")); + server.begin(); Serial.println("setup configure - done");