From da7b3ce9e49c92a6f7e35279695f17d5886f8015 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Fri, 28 Nov 2014 10:09:38 +0000 Subject: [PATCH] Incorrect reference to routes in http in node Fixes #503 --- nodes/core/io/21-httpin.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nodes/core/io/21-httpin.js b/nodes/core/io/21-httpin.js index 509d60b8a..cb6648421 100644 --- a/nodes/core/io/21-httpin.js +++ b/nodes/core/io/21-httpin.js @@ -94,11 +94,11 @@ module.exports = function(RED) { } } if (RED.settings.httpNodeCors) { - var route = RED.httpNode.route['options']; - if (route) { - for (var j = 0; j