功能性及安全修复

This commit is contained in:
2026-06-09 23:34:54 +08:00
parent 70e7ad8e5e
commit 5e0052564b
3 changed files with 12 additions and 5 deletions

View File

@@ -29,8 +29,6 @@ PUBLIC_PATHS = [
r'^/$',
r'^/health$',
r'^/api/auth/login$',
r'^/api/auth/logout$',
r'^/api/config/deduction-rules$',
]
def is_public_path(path: str) -> bool:
"""检查是否为公开路径"""