Added the Access-Control-Allow-Origin: * header to ease the html dashboard upudate, will have to find a better implementation
This commit is contained in:
parent
4841bb8dff
commit
8e655ed8fe
@ -72,6 +72,8 @@ class WEBServer : public TCPServer<T>, public HttpConstants
|
|||||||
{
|
{
|
||||||
client->printf("\r\nContent-Length: %d", contentLength);
|
client->printf("\r\nContent-Length: %d", contentLength);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
client->print("\r\nAccess-Control-Allow-Origin: *");
|
||||||
|
|
||||||
client->print("\r\n\r\n");
|
client->print("\r\n\r\n");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user