labgrid-project / labgrid

Embedded systems control library for development, testing and installation
https://labgrid.readthedocs.io/
Other
327 stars 164 forks source link

labgrid-webapp: 404 Not Found #1355

Closed sjg20 closed 4 months ago

sjg20 commented 5 months ago

When I run this:

G_CROSSBAR=ws://kea/ws  ./contrib/labgrid-webapp 
INFO:     Available routes:
INFO:       - /labgrid/graph
INFO:     Started server process [1598686]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://0.0.0.0:8800 (Press CTRL+C to quit)

then use the web browser at http://localhost:8800/ I get:

INFO:     127.0.0.1:56802 - "GET / HTTP/1.1" 404 Not Found

I was hoping it would show the SVG in the browser, but it was not obvious how to do that:

http://localhost:8800/labgrid/graph

sjg20 commented 5 months ago

@liambeguin