style: 修复错别字
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ class BaseConfig:
|
|||||||
|
|
||||||
ROOT_PATH = os.path.dirname(os.path.abspath(__file__))
|
ROOT_PATH = os.path.dirname(os.path.abspath(__file__))
|
||||||
|
|
||||||
JWT_TOKEN_LOCATION = ["headers", "cookies"]
|
JWT_TOKEN_LOCATION = ["headers"]
|
||||||
JWT_ACCESS_TOKEN_EXPIRES = timedelta(days=7)
|
JWT_ACCESS_TOKEN_EXPIRES = timedelta(days=7)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -127,7 +127,7 @@
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
// 请求后端,严重是否已经登录
|
// 请求后端,验证是否已经登录
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: "GET",
|
type: "GET",
|
||||||
url: "/api/v1/user/profile",
|
url: "/api/v1/user/profile",
|
||||||
|
|||||||
Reference in New Issue
Block a user