fix: 修复前端静态文件路径
This commit is contained in:
parent
9cc280a892
commit
7a71a2147b
|
|
@ -1145,7 +1145,7 @@ async def update_ai_config(config: LLMConfig):
|
||||||
|
|
||||||
|
|
||||||
# 前端静态文件服务
|
# 前端静态文件服务
|
||||||
FRONTEND_DIR = Path(__file__).parent.parent / "frontend" / "dist"
|
FRONTEND_DIR = Path(__file__).parent.parent.parent / "frontend" / "dist"
|
||||||
|
|
||||||
@app.get("/")
|
@app.get("/")
|
||||||
async def serve_frontend():
|
async def serve_frontend():
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue