Captive portal http functions

This commit is contained in:
Jeroen Domburg
2015-06-08 18:09:41 +08:00
parent dec1137abc
commit 0b393512fc
3 changed files with 26 additions and 0 deletions
+1
View File
@@ -53,6 +53,7 @@ general ones. Authorization things (like authBasic) act as a 'barrier' and
should be placed above the URLs they protect.
*/
HttpdBuiltInUrl builtInUrls[]={
{"*", cgiCheckHostname, "esp8266.local"},
{"/", cgiRedirect, "/index.tpl"},
{"/flash.bin", cgiReadFlash, NULL},
{"/led.tpl", cgiEspFsTemplate, tplLed},