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
{{ message }}
Repository navigation
Blank demo hen running documented uvicorn command #160
Running the command from the demo/server.py docstring:
PYTHONPATH=. uvicorn demo.server:app --port 8080
opens the page at /demo, but no charts appear. The log shows:
POST /demo/dashboard/update HTTP/1.1" 404 Not Found
The page requests /demo/dashboard/update, but the app only serves /dashboard/update. The Docker setup works because demo/nginx.conf strips the /demo prefix. server2.py to server4.py have the same problem; server_gif.py doesn't (it uses request.base_url).
Suggested fix: build the URL from the request like server_gif.py, or document that the demo needs docker-compose.
Note: following the flexviz.tech site's route (pip install flexviz and the Dashboard(...).show() example) works fine, and the page loads because show() uses an absolute server URL. The blank page only happens with the repo's demo/server*.py files, which is the route Claude picked for me when asked to "try out FlexViz".
Activity
cedrichelewaut commentedon Oct 9, 2026
Note: following the flexviz.tech site's route (pip install flexviz and the Dashboard(...).show() example) works fine, and the page loads because show() uses an absolute server URL. The blank page only happens with the repo's demo/server*.py files, which is the route Claude picked for me when asked to "try out FlexViz".