Created
February 27, 2018 23:12
-
-
Save msraynsford/41ad82fbe80490a20451d57c9bc7bdfe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
webServer.on("/", [](){ | |
webServer.send(200, "text/plain", "visit /admin for wifi configuration"); | |
}); | |
webServer.serveStatic("/admin", SPIFFS, "/admin.html"); | |
webServer.on("/admin", handleAdmin); | |
webServer.begin(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment