mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Replace httpInNodes.remove with httpInNodes.delete to fix timeout error
This commit is contained in:
parent
356c0c2416
commit
90328ef75e
@ -361,7 +361,7 @@ module.exports = function(RED) {
|
||||
|
||||
this.on("close",function() {
|
||||
// remove httpInNodeSettings from RED.httpNode
|
||||
httpInNodes.remove(httpInNodeId)
|
||||
httpInNodes.delete(httpInNodeId)
|
||||
var node = this;
|
||||
RED.httpNode._router.stack.forEach(function(route,i,routes) {
|
||||
if (route.route && route.route.path === node.url && route.route.methods[node.method]) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user