diff --git a/apps/web-antd/.env.production b/apps/web-antd/.env.production index a6f067f9..1fb7d29d 100644 --- a/apps/web-antd/.env.production +++ b/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 diff --git a/apps/web-antd/dist.zip b/apps/web-antd/dist.zip new file mode 100644 index 00000000..2699ad9e Binary files /dev/null and b/apps/web-antd/dist.zip differ diff --git a/packages/@core/forward/request/src/request-client/request-client.ts b/packages/@core/forward/request/src/request-client/request-client.ts index d01c9363..3c1368f7 100644 --- a/packages/@core/forward/request/src/request-client/request-client.ts +++ b/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);