8b0a1ae362
Uses the sysparam store to save the wifi configuration. Adds a basic http server for configuration.
8 lines
334 B
JavaScript
8 lines
334 B
JavaScript
"HTTP/1.1 200 \r\n"
|
|
"Content-Type: text/javascript\r\n"
|
|
"Cache-Control: max-age=900\r\n"
|
|
"Transfer-Encoding: chunked\r\n"
|
|
"Connection: close\r\n"
|
|
"\r\n",
|
|
"function myFunction() { var x = document.getElementById(\"myTopnav\");"
|
|
"if (x.className === \"topnav\") { x.className += \" responsive\"; } else { x.className = \"topnav\"; } }"
|