Bug fixes

This commit is contained in:
Ian Renton
2026-08-16 14:02:22 +01:00
parent 36ce350079
commit 8e48287edf
12 changed files with 32 additions and 24 deletions
+9 -1
View File
@@ -155,7 +155,15 @@ class WebServer:
V1APISpotsStreamHandler,
{"sse_spot_broadcaster": self._spot_broadcaster, **handler_opts},
),
(r"/api/v1/spot", V1APISpotHandler),
(
r"/api/v1/spot",
V1APISpotHandler,
{
"spots": self._data_store.spots,
"spot_providers": self._data_providers,
**handler_opts,
},
),
(r"/api/v1/(.*)", V1RedirectHandler),
]