mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 04:47:29 -08:00
fix(core): Fix problem with uploading large files (#3370)
* ⚡ fix * ⚡ moved setting to axios config
This commit is contained in:
parent
dc77594a1e
commit
d3cecfc55b
|
@ -541,7 +541,10 @@ async function proxyRequestToAxios(
|
|||
return requestPromiseWithDefaults.call(null, uriOrObject, options);
|
||||
}
|
||||
|
||||
let axiosConfig: AxiosRequestConfig = {};
|
||||
let axiosConfig: AxiosRequestConfig = {
|
||||
maxBodyLength: Infinity,
|
||||
maxContentLength: Infinity,
|
||||
};
|
||||
let axiosPromise: AxiosPromise;
|
||||
type ConfigObject = {
|
||||
auth?: { sendImmediately: boolean };
|
||||
|
|
Loading…
Reference in a new issue