File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -73,13 +73,14 @@ class EventStreamPostRequestBody(BaseModel):
7373# Endpoints for the 'public-facing' event-stream web-socket API ------------------------
7474
7575
76- @app_public .websocket ("/event-stream/{uuid} " )
77- async def event_stream (websocket : WebSocket , uuid : str ):
76+ @app_public .websocket ("/" )
77+ async def event_stream (websocket : WebSocket ):
7878 """The websocket handler for the event-stream.
7979 The actual location is returned to the AS when the web-socket is created
8080 using a POST to /event-stream/."""
8181
8282 # Get the DB record for this UUID...
83+ uuid : str = "P7kna4dF5irHFYJGpNigGu"
8384 _LOGGER .debug ("Connect attempt (uuid=%s)..." , uuid )
8485 db = sqlite3 .connect (_DATABASE_PATH )
8586 cursor = db .cursor ()
You can’t perform that action at this time.
0 commit comments