mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #665] How you get captive portail and webserver runing at the same time ? #554
Labels
No labels
📶 WiFi
🕸️ HTTP
Branch
DEV Help Wanted
Discussion
Documentation
ESP32
Example
Good First Issue
Hotfix
In Progress
Incomplete
Needs Feeback
Priority
QA
Question
Task
Upstream/Dependancy
bug
duplicate
enhancement
invalid
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/WiFiManager#554
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @spilz87 on GitHub (Jul 18, 2018).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/665
hello,
I really like your job, thanks for it !!!
I was looking at you code, but I don't understand how you solve the problem of running 2 webserver at the same time :
when I connect through AP, I access to a webpage of the captive portal
when I connect through my personnal network, I acces to the webpage of my project
I don't understand how you separate the webserver of the DNSserver from the webserver of the project.
I guess it something with the " std::unique_ptr server;" but I don't understand how that works.
I tryed to do a simple scketch with a captive portail with a specific page and a webserver that I can acces through my network with an other webpage
It will be very nice if you can help me to understand your work for that.
thanks
Spilz
@tablatronix commented on GitHub (Jul 18, 2018):
it is not solved, #461
Also you cannot run 2 webservers but maybe you can redirect different clients to different things.