Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement captive portal #677

Closed
wants to merge 40 commits into from
Closed

Implement captive portal #677

wants to merge 40 commits into from

Conversation

mairas
Copy link
Collaborator

@mairas mairas commented Feb 8, 2024

Getting a captive portal working was a bit more work than expected. The default ESP-IDF HTTP server uri handlers were not ideal for implementing middleware-type stuff that pre-empt the normal handlers. Thus, a custom handler mechanism was implemented. Captive portal is enabled via the web UI and then conditionally evaluated for each HTTP request. Finally, a DNS server is started if the captive portal is used.

@mairas
Copy link
Collaborator Author

mairas commented Feb 8, 2024

Will force-push due to commit history changes.

@mairas mairas closed this Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant