From e37b1b6b3a9c94d417af157b544230c65bdddb11 Mon Sep 17 00:00:00 2001 From: cipchk Date: Thu, 28 Dec 2023 16:54:19 +0800 Subject: [PATCH] perf(auth): remove default value of `ignores` --- packages/auth/src/auth.config.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/auth/src/auth.config.ts b/packages/auth/src/auth.config.ts index 6eed4a4e56..ca558d952f 100644 --- a/packages/auth/src/auth.config.ts +++ b/packages/auth/src/auth.config.ts @@ -8,7 +8,6 @@ export const AUTH_DEFAULT_CONFIG: AlainAuthConfig = { token_send_template: '${token}', token_send_place: 'header', login_url: '/login', - ignores: [/\/login/, /assets\//, /passport\//], refreshTime: 3000, refreshOffset: 6000 };