Skip to content

Commit

Permalink
fix(core): Fix problem with uploading large files (#3370)
Browse files Browse the repository at this point in the history
* ⚡ fix

* ⚡ moved setting to axios config
  • Loading branch information
michael-radency authored May 27, 2022
1 parent dc77594 commit d3cecfc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/core/src/NodeExecuteFunctions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 };
Expand Down

0 comments on commit d3cecfc

Please sign in to comment.