fix: auth 登录问题

This commit is contained in:
Gavan
2025-07-23 10:23:58 +08:00
parent cbcf942352
commit bb14bdbf96
3 changed files with 5 additions and 4 deletions

View File

@@ -58,7 +58,7 @@ export enum ContentType {
Text = "text/plain",
}
const whitePathnameList = ["/user/login", "/login"];
const whitePathnameList = ["/user/login", "/login", "/auth"];
const whiteApiList = ["/api/v1/user/profile", "/api/v1/admin/profile"];
const redirectToLogin = () => {