Forgot to add files :X.

This commit is contained in:
Jeroen Domburg
2014-10-14 21:40:50 +02:00
parent 69bd1bd9c5
commit a979dabd3b
8 changed files with 22 additions and 9 deletions
+1 -1
View File
@@ -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
View File
@@ -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},