删除多余的log

This commit is contained in:
2026-04-02 18:36:34 +08:00
parent 9574b02d8a
commit 0cab5c1cda
-2
View File
@@ -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)
# 健康检查