kin: KIN-UI-019-backend_dev
This commit is contained in:
parent
859d2ac0f6
commit
57c08db964
2 changed files with 11 additions and 28 deletions
|
|
@ -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}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue