mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
console.log in haste... remove at leisure
This commit is contained in:
parent
3e538cd145
commit
5390d9bc66
@ -40,7 +40,6 @@ function HTTPIn(n) {
|
||||
RED.nodes.registerType("http in",HTTPIn);
|
||||
|
||||
HTTPIn.prototype.close = function() {
|
||||
console.log(RED.app.routes[this.method]);
|
||||
var routes = RED.app.routes[this.method];
|
||||
for (var i in routes) {
|
||||
if (routes[i].path == this.url) {
|
||||
@ -48,6 +47,5 @@ HTTPIn.prototype.close = function() {
|
||||
break;
|
||||
}
|
||||
}
|
||||
console.log(RED.app.routes[this.method]);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user