mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
🐛 Correctly prepends the baseURL (#2825)
This commit is contained in:
parent
68c356c17c
commit
1ea57eff5d
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue