diff --git a/fan_control/data/chartist.min.css.gz b/fan_control/data/chartist.min.css.gz new file mode 100644 index 0000000..0847dbf Binary files /dev/null and b/fan_control/data/chartist.min.css.gz differ diff --git a/fan_control/data/index.html b/fan_control/data/index.html new file mode 100644 index 0000000..b5d3c2d --- /dev/null +++ b/fan_control/data/index.html @@ -0,0 +1,34 @@ + + + + My first Chartist Tests + + + + +

Weekly

+
+

Monthly

+
+ + + + + diff --git a/fan_control/src/server.cpp b/fan_control/src/server.cpp index 1f37673..b84f523 100644 --- a/fan_control/src/server.cpp +++ b/fan_control/src/server.cpp @@ -25,7 +25,7 @@ String getContentType(String filename){ bool handleFileRead(String path ){ DBG_OUTPUT_PORT.println("handleFileRead: " + path); - if(path.endsWith("/")) path += "index.htm"; + if(path.endsWith("/")) path += "index.html"; String contentType = getContentType(path); String pathWithGz = path + ".gz"; if(LittleFS.exists(pathWithGz) || LittleFS.exists(path)){