mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(core): Fix problem with uploading large files (#3370)
* ⚡ fix * ⚡ moved setting to axios config
This commit is contained in:
@@ -541,7 +541,10 @@ async function proxyRequestToAxios(
|
|||||||
return requestPromiseWithDefaults.call(null, uriOrObject, options);
|
return requestPromiseWithDefaults.call(null, uriOrObject, options);
|
||||||
}
|
}
|
||||||
|
|
||||||
let axiosConfig: AxiosRequestConfig = {};
|
let axiosConfig: AxiosRequestConfig = {
|
||||||
|
maxBodyLength: Infinity,
|
||||||
|
maxContentLength: Infinity,
|
||||||
|
};
|
||||||
let axiosPromise: AxiosPromise;
|
let axiosPromise: AxiosPromise;
|
||||||
type ConfigObject = {
|
type ConfigObject = {
|
||||||
auth?: { sendImmediately: boolean };
|
auth?: { sendImmediately: boolean };
|
||||||
|
|||||||
Reference in New Issue
Block a user