fix frontend path to /data/neural-sync/frontend/dist
This commit is contained in:
parent
20956731ed
commit
d5d1343d01
|
|
@ -1145,7 +1145,7 @@ async def update_ai_config(config: LLMConfig):
|
|||
|
||||
|
||||
# 前端静态文件服务
|
||||
FRONTEND_DIR = Path(__file__).parent.parent.parent / "frontend" / "dist"
|
||||
FRONTEND_DIR = Path("/data/neural-sync/frontend/dist")
|
||||
|
||||
@app.get("/")
|
||||
async def serve_frontend():
|
||||
|
|
|
|||
Loading…
Reference in New Issue