Replies: 2 comments 1 reply
-
webui_set_public can make it externally accessible, but, it only allows one browser session, why can't two browser tabs access it at the same time? do I have to do a private frontend and a public frontend here even though both want to be the exact same UI? |
Beta Was this translation helpful? Give feedback.
-
Yes, only one session is allowed per window. WebUI is not a web-server solution. Even if it's using web technologies, it is still a GUI library, not a web-server library. Issue: WebUI is a GUI, so think of it as windows, not sessions. Actually, WebUI adds a token security layer to make multiple sessions even harder for security reasons. Workaround: |
Beta Was this translation helpful? Give feedback.
-
webui embeds civetweb into a c and c++ program and it uses websocket to talk to civetweb, can I reuse the exact html+js+css of the GUI for remote access? e.g. I want to see the exact GUI from a remote machine on its browser, can webui expose the same port to external access? that way I can run it on my local machine, or on my server without code changes.
Beta Was this translation helpful? Give feedback.
All reactions