11
This commit is contained in:
parent
661875bd16
commit
f781a8ec1c
@ -170,8 +170,6 @@ export async function request(
|
|||||||
...(options.headers || {}),
|
...(options.headers || {}),
|
||||||
},
|
},
|
||||||
timeout: 15000,
|
timeout: 15000,
|
||||||
maxContentLength: 50 * 1024 * 1024, // 设置50MB限制,避免-1的问题
|
|
||||||
maxBodyLength: 50 * 1024 * 1024, // 设置50MB限制,避免-1的问题
|
|
||||||
validateStatus: () => true,
|
validateStatus: () => true,
|
||||||
..._.omit(options, "params", "headers"),
|
..._.omit(options, "params", "headers"),
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user