You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue seeems to be that the sio_app in nicegui.py hardcodes the path:
sio_app = socketio.ASGIApp(socketio_server=sio, socketio_path='/_nicegui_ws/socket.io'), while the fronend assumes it's under the mount_path. I guess you had to overwrite that engineio_path in the run_with method
The text was updated successfully, but these errors were encountered:
Description
Hi there
I tried embedding nicegui with an existing app under a mount path like this:
However, this breaks the websocket connection. as a workaround I did this:
The issue seeems to be that the
sio_app
in nicegui.py hardcodes the path:sio_app = socketio.ASGIApp(socketio_server=sio, socketio_path='/_nicegui_ws/socket.io')
, while the fronend assumes it's under the mount_path. I guess you had to overwrite that engineio_path in the run_with methodThe text was updated successfully, but these errors were encountered: