diff --git a/extlibs/libespfs b/extlibs/libespfs index a646e3e..03ff681 160000 --- a/extlibs/libespfs +++ b/extlibs/libespfs @@ -1 +1 @@ -Subproject commit a646e3ee0594ec2301e9b3fe6373ea274eb39e39 +Subproject commit 03ff681a61cb03a43c6f008601a6e6090e9df2bd diff --git a/src/HTTPServer.c b/src/HTTPServer.c index 80bc246..f13d364 100644 --- a/src/HTTPServer.c +++ b/src/HTTPServer.c @@ -355,7 +355,7 @@ static esp_err_t GETHandler(httpd_req_t *req) } //check if the file can contains dynamic variables - if (IS_FILE_EXT(filename, ".html") || IS_FILE_EXT(filename, ".json")) + if (IS_FILE_EXT(filename, ".html") || IS_FILE_EXT(filename, ".json") || IS_FILE_EXT(filename, ".js")) isDynamicVars = true; do {