From 1ea57eff5d0254d6768a6ad4f8caf05bf87f52cd Mon Sep 17 00:00:00 2001 From: agobrech <45268029+agobrech@users.noreply.github.com> Date: Fri, 18 Feb 2022 18:07:23 +0100 Subject: [PATCH] :bug: Correctly prepends the baseURL (#2825) --- packages/core/src/NodeExecuteFunctions.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/core/src/NodeExecuteFunctions.ts b/packages/core/src/NodeExecuteFunctions.ts index 22b7888d46..43ba12b451 100644 --- a/packages/core/src/NodeExecuteFunctions.ts +++ b/packages/core/src/NodeExecuteFunctions.ts @@ -291,6 +291,10 @@ async function parseRequestObject(requestObject: IDataObject) { axiosConfig.url = requestObject.url?.toString() as string; } + if (requestObject.baseURL !== undefined) { + axiosConfig.baseURL = requestObject.baseURL?.toString() as string; + } + if (requestObject.method !== undefined) { axiosConfig.method = requestObject.method as Method; }