From a1830def8e9339659c5ba3326231085dcdd6c338 Mon Sep 17 00:00:00 2001 From: Dave C-J Date: Wed, 29 Oct 2014 18:26:09 +0000 Subject: [PATCH] Fix http in node close wrinkle if cors enabled but not used. --- nodes/core/io/21-httpin.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/nodes/core/io/21-httpin.js b/nodes/core/io/21-httpin.js index 877ccc09e..86e42ec9e 100644 --- a/nodes/core/io/21-httpin.js +++ b/nodes/core/io/21-httpin.js @@ -95,10 +95,12 @@ module.exports = function(RED) { } if (RED.settings.httpNodeCors) { var route = RED.httpNode.route['options']; - for (var j = 0; j