Library example for softAP calls for "redirect" in 8266 but doesn't exist #9231
bucklevision
started this conversation in
General
Replies: 1 comment
-
I believe you want these examples instead https://github.com/esp8266/Arduino/tree/3.1.2/libraries/DNSServer/examples/CaptivePortalAdvanced Notice '.../tree/master/...' in the url. When using git install, you can use those. Otherwise, look up the specific tag |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Trying to compile the example in
https://github.com/esp8266/Arduino/tree/master/libraries/DNSServer/examples)/CaptivePortalAdvanced
it calls for server.redirect.
Server.redirect doesn't exist in the esp8266webserver library. I'm thinking sending a 302 redirect is the right solution, but as yet I can't get it to work - I get a blank page for sign-in on the phone. Has anyone else overcome this?
Beta Was this translation helpful? Give feedback.
All reactions