Unverified Commit 1ea66463 authored by Chris Klinger's avatar Chris Klinger Committed by GitHub
Browse files

Merge pull request #3 from c-klinger/bugfix/esp-crashes-on-ui-or-admin

Possible Bugfix for #2, streaming html content from flash
parents 8eba0b43 2cae65ee
......@@ -63,13 +63,13 @@ void setup(void) {
// iro.js User Interface and Javascript
server.on("/ui", HTTP_GET, []() {
server.send(200, "text/html", WEBINTERFACE);
server.send_P(200, "text/html", WEBINTERFACE);
});
server.on("/admin", HTTP_GET, []() {
server.send(200, "text/html", WEBADMIN);
server.send_P(200, "text/html", WEBADMIN);
});
server.on("/iro.min.js", HTTP_GET, []() {
server.send(200, "application/javascript", IRO_JS);
server.send_P(200, "application/javascript", IRO_JS);
});
// REST-API
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment