rxtutils 1.1.4-beta.16 → 1.1.4-beta.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/request/index.cjs +1 -2
- package/es/request/index.mjs +1 -2
- package/package.json +1 -1
package/cjs/request/index.cjs
CHANGED
|
@@ -14,10 +14,9 @@ var error = require('./error.cjs');
|
|
|
14
14
|
*/
|
|
15
15
|
function createBaseRequest(baseOptions) {
|
|
16
16
|
const { baseURL } = Object(baseOptions);
|
|
17
|
-
// 创建新的 Axios 实例并配置基础URL
|
|
17
|
+
// 创建新的 Axios 实例并配置基础URL
|
|
18
18
|
const instance = axios.create({
|
|
19
19
|
baseURL: baseURL,
|
|
20
|
-
withCredentials: true,
|
|
21
20
|
});
|
|
22
21
|
/**
|
|
23
22
|
* 创建请求函数
|
package/es/request/index.mjs
CHANGED
|
@@ -12,10 +12,9 @@ import RequestError from './error.mjs';
|
|
|
12
12
|
*/
|
|
13
13
|
function createBaseRequest(baseOptions) {
|
|
14
14
|
const { baseURL } = Object(baseOptions);
|
|
15
|
-
// 创建新的 Axios 实例并配置基础URL
|
|
15
|
+
// 创建新的 Axios 实例并配置基础URL
|
|
16
16
|
const instance = axios.create({
|
|
17
17
|
baseURL: baseURL,
|
|
18
|
-
withCredentials: true,
|
|
19
18
|
});
|
|
20
19
|
/**
|
|
21
20
|
* 创建请求函数
|