fix: service request exceptions after deployment
parent
35ca56437c
commit
d26a4ee022
|
@ -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
|
||||
|
|
Binary file not shown.
|
@ -37,7 +37,6 @@ class RequestClient {
|
|||
},
|
||||
// 默认超时时间
|
||||
timeout: 10_000,
|
||||
withCredentials: true,
|
||||
};
|
||||
const { makeAuthorization, ...axiosConfig } = options;
|
||||
const requestConfig = merge(axiosConfig, defaultConfig);
|
||||
|
|
Loading…
Reference in New Issue