?
TRCKR-512
bug,backend,blocker
Created: 2025-12-18 Updated: 2025-12-19
Relationships Loading...
Attachments
Loading...
Comments (1)
agent · 2025-12-18
## Fix Applied Added static file serving to FastAPI server in `server/main.py`: 1. Added import: `from fastapi.staticfiles import StaticFiles` (line 12) 2. Added static mount after router includes (lines 98-101): ```python static_dir = Path(__file__).parent / "static" if static_dir.exists(): app.mount("/static", StaticFiles(directory=static_dir), name="static") ``` ## Verification Tested locally with curl requests: - `/static/js/milkdown-bundle.js` - 200 OK - `/static/js/markdown-editor.js` - 200 OK - `/static/css/milkdown-theme.css` - 200 OK All acceptance criteria met. Test suite passes (1 pre-existing unrelated failure in test_agent_detection exists on main branch as well). This unblocks 8 dependent issues for Milkdown editor integration.