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) # 健康检查