fix(hub): remove trade UI stubs, public ping, multipart dep
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user