Forgot to add files :X.
This commit is contained in:
+1
-1
@@ -40,7 +40,7 @@ int ICACHE_FLASH_ATTR cgiLed(HttpdConnData *connData) {
|
||||
ioLed(currLedState);
|
||||
}
|
||||
|
||||
httpdRedirect(connData, "led.html");
|
||||
httpdRedirect(connData, "led.tpl");
|
||||
return HTTPD_CGI_DONE;
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@
|
||||
#include "stdout.h"
|
||||
|
||||
HttpdBuiltInUrl builtInUrls[]={
|
||||
{"/", cgiRedirect, "/test2.html"},
|
||||
{"/", cgiRedirect, "/index.html"},
|
||||
{"/flash.bin", cgiReadFlash, NULL},
|
||||
{"/led.tpl", cgiEspFsTemplate, tplLed},
|
||||
{"/led.cgi", cgiLed, NULL},
|
||||
|
||||
Reference in New Issue
Block a user