From 680968ff30930823a331ad4dd2014fef0274a9fc Mon Sep 17 00:00:00 2001 From: tablatronix <807787+tablatronix@users.noreply.github.com> Date: Sun, 5 Nov 2023 08:34:12 -0600 Subject: [PATCH] comments --- .../Super/OnDemandConfigPortal/OnDemandConfigPortal.ino | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/Super/OnDemandConfigPortal/OnDemandConfigPortal.ino b/examples/Super/OnDemandConfigPortal/OnDemandConfigPortal.ino index b9b7671..0662a23 100644 --- a/examples/Super/OnDemandConfigPortal/OnDemandConfigPortal.ino +++ b/examples/Super/OnDemandConfigPortal/OnDemandConfigPortal.ino @@ -79,16 +79,16 @@ void bindServerCallback(){ // you can override wm route endpoints, I have not found a way to remove handlers, but this would let you disable them or add auth etc. // wm.server->on("/info",handleNotFound); // wm.server->on("/update",handleNotFound); - wm.server->on("/erase",handleNotFound); + wm.server->on("/erase",handleNotFound); // disable erase } void handleRoute(){ - Serial.println("[HTTP] handle route"); + Serial.println("[HTTP] handle custom route"); wm.server->send(200, "text/plain", "hello from user code"); } void handleNotFound(){ - Serial.println("[HTTP] handle route"); + Serial.println("[HTTP] override handle route"); wm.handleNotFound(); }