1
This commit is contained in:
parent
a73736cd26
commit
661875bd16
@ -170,6 +170,8 @@ 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