refactor(api): remove unused network endpoints
This commit is contained in:
@@ -15,7 +15,6 @@ import { AppEnvUtil, deviceIdentifier, Result } from "@/utils";
|
||||
* (这些路径返回 401 时不触发刷新)
|
||||
*/
|
||||
const NO_AUTH_REFRESH_PATHS: readonly string[] = [
|
||||
ApiPath.sendCode,
|
||||
ApiPath.emailLogin,
|
||||
ApiPath.register,
|
||||
ApiPath.guestLogin,
|
||||
|
||||
@@ -16,7 +16,6 @@ const log = new Logger("TokenInterceptor");
|
||||
* 不需要 token 的路径
|
||||
*/
|
||||
const NO_TOKEN_PATHS: readonly string[] = [
|
||||
ApiPath.sendCode,
|
||||
ApiPath.emailLogin,
|
||||
ApiPath.register,
|
||||
ApiPath.guestLogin,
|
||||
|
||||
Reference in New Issue
Block a user