allow dynamic variables in js files
This commit is contained in:
parent
5b3fbbba7f
commit
6cf7f4e4a9
|
|
@ -1 +1 @@
|
|||
Subproject commit a646e3ee0594ec2301e9b3fe6373ea274eb39e39
|
||||
Subproject commit 03ff681a61cb03a43c6f008601a6e6090e9df2bd
|
||||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user