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