From fe02a72e022e31a84f6b96605ae4c9fb82d30548 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 14 Jul 2015 21:44:02 +0000 Subject: [PATCH] fix typo escapeHtml -> escape-html --- lib/insecure-server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/insecure-server.js b/lib/insecure-server.js index 0b8e827..251673b 100644 --- a/lib/insecure-server.js +++ b/lib/insecure-server.js @@ -40,7 +40,7 @@ module.exports.create = function (securePort, insecurePort, redirects) { ); }); - var escapeHtml = require('escapeHtml'); + var escapeHtml = require('escape-html'); var newLocation = 'https://' + host.replace(/:\d+/, ':' + securePort) + url ;