Skip to content

Commit

Permalink
Update app_httpd.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
fustyles authored Aug 23, 2020
1 parent 731a0c7 commit 4db90b9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@ static esp_err_t stream_handler(httpd_req_t *req){
if(res != ESP_OK){
return res;
}
httpd_resp_set_hdr(req, "Access-Control-Allow-Origin", "*");

while(true){
detected = false;
Expand Down Expand Up @@ -649,7 +650,7 @@ static const char PROGMEM INDEX_HTML[] = R"rawliteral(
<figure>
<div id="stream-container" class="image-container hidden">
<div class="close" id="close-stream">×</div>
<img id="stream" src="">
<img id="stream" src="" crossorigin="anonymous">
</div>
</figure>
<section class="main">
Expand Down

0 comments on commit 4db90b9

Please sign in to comment.