Commit 18bb873b authored by PhiBo's avatar PhiBo 🚀

Fix handler path

parent 7dc9c812
......@@ -61,9 +61,9 @@ void setup() {
server->on("/action/register", handleRegister);
server->on("/action/restart", handleRestart);
server->on("/action/save", handleSave);
server->on("/action/api/hostname", handleAPIHostname);
server->on("/action/api/port", handleAPIPort);
server->on("/action/wifi/ssids", handleScanSSID);
server->on("/config/api/hostname", handleAPIHostname);
server->on("/config/api/port", handleAPIPort);
server->on("/config/wifi/sta/ssid", handleSSID);
server->on("/config/wifi/sta/password", handlePassword);
server->on("/setup", []() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment