mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
parent
8a7bb1be9f
commit
9d4139085b
@ -177,6 +177,9 @@ module.exports = function(RED) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.url = n.url;
|
this.url = n.url;
|
||||||
|
if (this.url[0] !== '/') {
|
||||||
|
this.url = '/'+this.url;
|
||||||
|
}
|
||||||
this.method = n.method;
|
this.method = n.method;
|
||||||
this.upload = n.upload;
|
this.upload = n.upload;
|
||||||
this.swaggerDoc = n.swaggerDoc;
|
this.swaggerDoc = n.swaggerDoc;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user