mirror of
https://github.com/stardrophere/InsightRadar.git
synced 2026-06-06 00:00:05 +08:00
删除多余的log
This commit is contained in:
@@ -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)
|
||||
|
||||
# 健康检查
|
||||
|
||||
Reference in New Issue
Block a user