feat: send logs to UI
Added SSE endpoint `/logs/stream` for the UI to listen to logs. ref: N25B-242
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from fastapi.routing import APIRouter
|
||||
|
||||
from control_backend.api.v1.endpoints import command, message, sse
|
||||
from control_backend.api.v1.endpoints import command, logs, message, sse
|
||||
|
||||
api_router = APIRouter()
|
||||
|
||||
@@ -9,3 +9,5 @@ api_router.include_router(message.router, tags=["Messages"])
|
||||
api_router.include_router(sse.router, tags=["SSE"])
|
||||
|
||||
api_router.include_router(command.router, tags=["Commands"])
|
||||
|
||||
api_router.include_router(logs.router, tags=["Logs"])
|
||||
|
||||
Reference in New Issue
Block a user