diff --git a/src/WebServer.cpp b/src/WebServer.cpp index 951c6dc..0f24da9 100644 --- a/src/WebServer.cpp +++ b/src/WebServer.cpp @@ -280,6 +280,7 @@ void WebServer::_prepareHeader(String& response, int code, const char* content_t sendHeader("Transfer-Encoding","chunked"); } sendHeader("Connection", "close"); + sendHeader("Access-Control-Allow-Origin", "*"); response += _responseHeaders; response += "\r\n";