Compare commits

..

No commits in common. "f4413b29d0582db52623c40a99db8f8d1de9e9da" and "a3f3c4b041e7216d596ed5fff14826a9a781a833" have entirely different histories.

2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ module.exports = function (opts) {
try {
encodedLocation = decodeURIComponent(newLocation);
} catch(e) {
encodedLocation = newLocation; // "#/error/?error_message=" + e.toString();
encodedLocation = "#/error/?error_message=" + e.toString();
}
var body = opts.body
.replace(/{{\s*HTML_URL\s*}}/ig, escapeHtml(encodedLocation))

View File

@ -1,6 +1,6 @@
{
"name": "redirect-https",
"version": "1.1.3",
"version": "1.1.2",
"description": "Redirect from HTTP to HTTPS using meta redirects",
"main": "index.js",
"scripts": {