fix typo escapeHtml -> escape-html
This commit is contained in:
parent
ff60c6ff70
commit
fe02a72e02
|
@ -40,7 +40,7 @@ module.exports.create = function (securePort, insecurePort, redirects) {
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
var escapeHtml = require('escapeHtml');
|
var escapeHtml = require('escape-html');
|
||||||
var newLocation = 'https://'
|
var newLocation = 'https://'
|
||||||
+ host.replace(/:\d+/, ':' + securePort) + url
|
+ host.replace(/:\d+/, ':' + securePort) + url
|
||||||
;
|
;
|
||||||
|
|
Loading…
Reference in New Issue