Closed ncmreynolds closed 2 years ago
hey @ncmreynolds, thanks for the PR Just one comment: Why make this off by default ? I would argue that we can always have this redirect :-)
I left it off default because it is probably not very useful when the ESP is acting as a station not a hotspot. Having said that having it on by default most likely wouldn't have any negative effect. Feel free to change this if you wish.
Please make the change, then lets merge it :-)
Done (I think, I'm not great with git)
Suggestions done, also updated the documentation change to reflect this.
Great, thanks a lot :-)
I have made a small change to optionally redirect all 404s to the 'root' of the ESP, turning it into a captive portal if acting as a Wi-Fi hotspot and DNS server.
This PR includes changes to the examples and documentation to reflect this. Sorry for the long wait in my producing a complete solution to #134 I got absentminded and forgot about it until I worked on another project with ESPUI. The existing examples can already act as Wi-Fi hotspot and DNS server so the changes to them are one line.