1
0
Эх сурвалжийг харах

fix: service request exceptions after deployment

vince 8 сар өмнө
parent
commit
d26a4ee022

+ 1 - 1
apps/web-antd/.env.production

@@ -2,4 +2,4 @@
 VITE_PUBLIC_PATH = /
 
 # Basic interface address SPA
-VITE_GLOB_API_URL=/api
+VITE_GLOB_API_URL=https://mock-napi.vben.pro/api

BIN
apps/web-antd/dist.zip


+ 0 - 1
packages/@core/forward/request/src/request-client/request-client.ts

@@ -37,7 +37,6 @@ class RequestClient {
       },
       // 默认超时时间
       timeout: 10_000,
-      withCredentials: true,
     };
     const { makeAuthorization, ...axiosConfig } = options;
     const requestConfig = merge(axiosConfig, defaultConfig);