kin: KIN-UI-019-backend_dev

This commit is contained in:
Gros Frumos 2026-03-18 21:46:06 +02:00
parent 859d2ac0f6
commit 57c08db964
2 changed files with 11 additions and 28 deletions

View file

@ -1864,7 +1864,8 @@ def send_chat_message(project_id: str, body: ChatMessageIn):
DIST = Path(__file__).parent / "frontend" / "dist"
app.mount("/assets", StaticFiles(directory=str(DIST / "assets")), name="assets")
if (DIST / "assets").exists():
app.mount("/assets", StaticFiles(directory=str(DIST / "assets")), name="assets")
@app.get("/{path:path}")