From 331f5137ff0fe7ffe4b570e4bc83a015660bd4db Mon Sep 17 00:00:00 2001 From: aaron <> Date: Sun, 15 Mar 2026 10:51:35 +0800 Subject: [PATCH] update --- backend/app/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/app/main.py b/backend/app/main.py index fe1ed73..9604d0e 100644 --- a/backend/app/main.py +++ b/backend/app/main.py @@ -687,7 +687,7 @@ if os.path.exists(frontend_path): @app.get("/") async def root(): """根路径,返回主应用页面""" - index_path = os.path.join(frontend_path, "index.html") + index_path = os.path.join(frontend_path, "trading.html") if os.path.exists(index_path): return FileResponse(index_path) return {"message": "页面不存在"} @@ -695,7 +695,7 @@ async def root(): @app.get("/app") async def app_page(): """主应用页面""" - index_path = os.path.join(frontend_path, "index.html") + index_path = os.path.join(frontend_path, "trading.html") if os.path.exists(index_path): return FileResponse(index_path) return {"message": "页面不存在"}