fix typo escapeHtml -> escape-html

This commit is contained in:
AJ ONeal 2015-07-14 21:44:02 +00:00
parent ff60c6ff70
commit fe02a72e02
1 changed files with 1 additions and 1 deletions

View File

@ -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
;