mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
🐛 Correctly prepends the baseURL (#2825)
This commit is contained in:
@@ -291,6 +291,10 @@ async function parseRequestObject(requestObject: IDataObject) {
|
|||||||
axiosConfig.url = requestObject.url?.toString() as string;
|
axiosConfig.url = requestObject.url?.toString() as string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (requestObject.baseURL !== undefined) {
|
||||||
|
axiosConfig.baseURL = requestObject.baseURL?.toString() as string;
|
||||||
|
}
|
||||||
|
|
||||||
if (requestObject.method !== undefined) {
|
if (requestObject.method !== undefined) {
|
||||||
axiosConfig.method = requestObject.method as Method;
|
axiosConfig.method = requestObject.method as Method;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user