From 0cab5c1cda5075e3a0cbab2f3647fd61d8ad1491 Mon Sep 17 00:00:00 2001 From: csf123321 Date: Thu, 2 Apr 2026 18:36:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=A4=9A=E4=BD=99=E7=9A=84lo?= =?UTF-8?q?g?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/app/main.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/backend/app/main.py b/backend/app/main.py index 1905db2..566558c 100644 --- a/backend/app/main.py +++ b/backend/app/main.py @@ -130,8 +130,6 @@ async def not_found_handler(request: Request, exc: HTTPException): # 如果是API路径才返回404,前端路径走catch-all不会进这里 if request.url.path.startswith("/api/"): return JSONResponse({"detail": "Not Found"}, status_code=404) - print("没找到") - logging.info("没找到") return HTMLResponse(INDEX_HTML) # 健康检查