From 6deeec7b97d28c420265495a4bd5566bc8f26363 Mon Sep 17 00:00:00 2001 From: Thomas Basler Date: Tue, 12 Apr 2022 00:19:45 +0200 Subject: [PATCH] Use index.html instead of index.htm --- src/WebApi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WebApi.cpp b/src/WebApi.cpp index e31102e..1a7db66 100644 --- a/src/WebApi.cpp +++ b/src/WebApi.cpp @@ -18,7 +18,7 @@ void WebApiClass::init() _ws.onEvent(std::bind(&WebApiClass::onWebsocketEvent, this, _1, _2, _3, _4, _5, _6)); - _server.serveStatic("/", LITTLEFS, "/", "max-age=86400").setDefaultFile("index.htm"); + _server.serveStatic("/", LITTLEFS, "/", "max-age=86400").setDefaultFile("index.html"); _server.onNotFound(std::bind(&WebApiClass::onNotFound, this, _1)); _server.begin(); }