Skip to content

Commit

Permalink
Updated v1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
gemi254 committed Nov 24, 2023
1 parent fbee064 commit 16ae18a
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/network.h
Original file line number Diff line number Diff line change
Expand Up @@ -176,11 +176,7 @@ static void handleAssistRoot() {
if(pServer->args() == 0)
pServer->sendContent(String(HTML_PING_SCRIPT));
}
// Handler function for AP config form
static void handleAssistScan() {
conf.handleWifiScanRequest();
}


// Handler function for root of the web page
static void handleRoot(){
//Read on each refresh
Expand Down Expand Up @@ -539,8 +535,8 @@ void registerHandlers(){
//Handlers are registered by configAssist
if(!apStarted){
pServer->on("/cfg", handleAssistRoot );
pServer->on("/scan", handleAssistScan );
conf.setup(*pServer, false);
//pServer->on("/scan", handleAssistScan );
conf.setup(*pServer);
}
pServer->on("/pg", handlePing);
pServer->on("/fs", handleFileSytem);
Expand Down

0 comments on commit 16ae18a

Please sign in to comment.