Skip to content

Commit

Permalink
Removed :
Browse files Browse the repository at this point in the history
  • Loading branch information
MitchBradley committed Jan 22, 2024
1 parent 1a4da3a commit 8f61a96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion FluidNC/src/WebUI/WebClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ namespace WebUI {
// so no need to do it explicitly
// _webserver->sendHeader("Content-Type", "text/html");
_webserver->sendHeader("Cache-Control", "no-cache");
_webserver->sendHeader("Access-Control-Allow-Origin:", "*");
_webserver->sendHeader("Access-Control-Allow-Origin", "*");
_webserver->send(200);
_header_sent = true;
}
Expand Down
2 changes: 1 addition & 1 deletion FluidNC/src/WebUI/WebServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ namespace WebUI {

void Web_Server::sendJSON(int code, const char* s) {
_webserver->sendHeader("Cache-Control", "no-cache");
_webserver->sendHeader("Access-Control-Allow-Origin:", "*");
_webserver->sendHeader("Access-Control-Allow-Origin", "*");
_webserver->send(200, "application/json", s);
}

Expand Down

0 comments on commit 8f61a96

Please sign in to comment.