feat(gateway): 接入42和72并为42/52/72启用可刷新令牌

This commit is contained in:
xsl
2026-11-07 20:50:22 +08:00
parent dc53a0ecfe
commit 51baf96d78
24 changed files with 1312 additions and 126 deletions
+1 -1
View File
@@ -223,7 +223,7 @@ def is_initialized() -> bool:
def _should_log(path: str) -> bool:
"""只记录 API 请求(/api/ 路径),跳过静态文件、健康检查等。"""
return path.startswith("/api/")
return path.startswith("/api/") and not path.startswith("/api/v1/auth/")
async def request_logging_middleware(request, call_next):