mirror of
https://github.com/chaitin/MonkeyCode.git
synced 2026-02-05 00:04:50 +08:00
fix: auth 登录问题
This commit is contained in:
@@ -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 = () => {
|
||||
|
||||
Reference in New Issue
Block a user