diff --git a/data/.lfs/command_center.html.tar.gz b/data/.lfs/command_center.html.tar.gz
new file mode 100644
index 0000000000..f3089d7b87
--- /dev/null
+++ b/data/.lfs/command_center.html.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:2daabec1baf19c95cb50eadef8d3521289044adde03c86909351894cb90c9843
+size 137595
diff --git a/dimos/web/websocket_vis/websocket_vis_module.py b/dimos/web/websocket_vis/websocket_vis_module.py
index 31aa0d3956..776c82c68b 100644
--- a/dimos/web/websocket_vis/websocket_vis_module.py
+++ b/dimos/web/websocket_vis/websocket_vis_module.py
@@ -36,6 +36,8 @@
from starlette.staticfiles import StaticFiles
import uvicorn
+from dimos.utils.data import get_data
+
# Path to the frontend HTML templates and command-center build
_TEMPLATES_DIR = FilePath(__file__).parent.parent / "templates"
_DASHBOARD_HTML = _TEMPLATES_DIR / "rerun_dashboard.html"
@@ -218,7 +220,7 @@ async def serve_index(request): # type: ignore[no-untyped-def]
async def serve_command_center(request): # type: ignore[no-untyped-def]
"""Serve the command center 2D visualization (built React app)."""
- index_file = _COMMAND_CENTER_DIR / "index.html"
+ index_file = get_data("command_center.html")
if index_file.exists():
return FileResponse(index_file, media_type="text/html")
else:
@@ -233,15 +235,6 @@ async def serve_command_center(request): # type: ignore[no-untyped-def]
Route("/command-center", serve_command_center),
]
- # Add static file serving for command-center assets if build exists
- if _COMMAND_CENTER_DIR.exists():
- routes.append(
- Mount( # type: ignore[arg-type]
- "/assets",
- app=StaticFiles(directory=_COMMAND_CENTER_DIR / "assets"),
- name="assets",
- )
- )
starlette_app = Starlette(routes=routes)
self.app = socketio.ASGIApp(self.sio, starlette_app)