diff --git a/include/http/index.html b/include/http/index.html index 9bec15e..39f8553 100644 --- a/include/http/index.html +++ b/include/http/index.html @@ -4,7 +4,7 @@ My test page - +

Mozilla is cool

diff --git a/include/webtest.cmd b/include/webtest.cmd new file mode 100644 index 0000000..a5f46f7 --- /dev/null +++ b/include/webtest.cmd @@ -0,0 +1,2 @@ +CD .\include\http +py.exe -m http.server \ No newline at end of file diff --git a/src/main.cpp b/src/main.cpp index 26a2de5..032fe38 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -81,9 +81,8 @@ void setup_webserver() { Serial.print("IP address: "); Serial.println(WiFi.localIP()); - //server.on("/", handleRoot); server.on("/", handleRootGz); - server.on("/styles/style.css", handleCssGz); + server.on("/style.css", handleCssGz); server.onNotFound(handleNotFound); server.begin();