Skip to content

Commit

Permalink
Fix invalid HTTP header (#63)
Browse files Browse the repository at this point in the history
Looks fine :)
  • Loading branch information
pembem22 authored Mar 17, 2024
1 parent 453762a commit 43a13f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ESP/lib/src/network/stream/streamServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ esp_err_t StreamHelpers::stream(httpd_req_t *req)
if (res != ESP_OK)
return res;

httpd_resp_set_hdr(req, "Access-Control-Allow-Origin; Content-Type: multipart/x-mixed-replace; boundary=123456789000000000000987654321\r\n", "*");
httpd_resp_set_hdr(req, "Access-Control-Allow-Origin", "*");
httpd_resp_set_hdr(req, "X-Framerate", "60");

while (true)
Expand Down

0 comments on commit 43a13f6

Please sign in to comment.