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 ;