1
0
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:
Nicholas O'Leary 2013-09-19 17:01:00 +01:00
parent 3e538cd145
commit 5390d9bc66

View File

@ -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]);
}