From e326d89571e28eef537252b8df303694c7828ab8 Mon Sep 17 00:00:00 2001 From: whyour Date: Tue, 23 Dec 2025 00:58:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20apiWhiteList=20=E8=B7=AF?= =?UTF-8?q?=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/http.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/utils/http.tsx b/src/utils/http.tsx index b25f3646..e45ab9c0 100644 --- a/src/utils/http.tsx +++ b/src/utils/http.tsx @@ -84,12 +84,12 @@ let _request = axios.create({ }); const apiWhiteList = [ - '/api/user/login', - '/open/auth/token', - '/api/user/two-factor/login', - '/api/system', - '/api/user/init', - '/api/user/notification/init', + `${config.baseUrl}api/user/login`, + `${config.baseUrl}open/auth/token`, + `${config.baseUrl}api/user/two-factor/login`, + `${config.baseUrl}api/system`, + `${config.baseUrl}api/user/init`, + `${config.baseUrl}api/user/notification/init`, ]; _request.interceptors.request.use((_config) => {