chore: rename repository to NODEDC MISSION CORE
This commit is contained in:
@@ -1 +1 @@
|
||||
"""Local-only control API for the K1 live console."""
|
||||
"""Local Mission Core control plane with the transitional XGRIDS adapter."""
|
||||
|
||||
@@ -261,7 +261,7 @@ async def app_lifespan(_: FastAPI) -> AsyncIterator[None]:
|
||||
|
||||
|
||||
app = FastAPI(
|
||||
title="NODE.DC Device Control API",
|
||||
title="NODEDC Mission Core API",
|
||||
version=__version__,
|
||||
docs_url="/api/docs",
|
||||
redoc_url=None,
|
||||
@@ -275,7 +275,7 @@ def health() -> dict[str, Any]:
|
||||
return {
|
||||
"ok": True,
|
||||
"status": "ok",
|
||||
"service": "k1-live-console",
|
||||
"service": "mission-core-control-plane",
|
||||
"version": __version__,
|
||||
}
|
||||
|
||||
@@ -341,7 +341,7 @@ async def events(websocket: WebSocket) -> None:
|
||||
return
|
||||
|
||||
|
||||
frontend_dist = REPOSITORY_ROOT / "apps" / "k1-viewer" / "dist"
|
||||
frontend_dist = REPOSITORY_ROOT / "apps" / "control-station" / "dist"
|
||||
if frontend_dist.is_dir():
|
||||
app.mount("/", StaticFiles(directory=frontend_dist, html=True), name="frontend")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user