fix(hub): remove trade UI stubs, public ping, multipart dep

This commit is contained in:
dekun
2026-05-22 12:07:26 +08:00
parent 7d263c349f
commit d075471573
3 changed files with 29 additions and 1 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ def is_public_path(path: str, method: str) -> bool:
p = (path or "").split("?")[0].rstrip("/") or "/"
if p.startswith("/assets"):
return True
if p in ("/login", "/api/auth/login", "/api/auth/status"):
if p in ("/login", "/api/auth/login", "/api/auth/status", "/api/ping"):
return True
if p == "/api/auth/logout" and method.upper() == "POST":
return True