Compare commits
No commits in common. "f4413b29d0582db52623c40a99db8f8d1de9e9da" and "a3f3c4b041e7216d596ed5fff14826a9a781a833" have entirely different histories.
f4413b29d0
...
a3f3c4b041
2
index.js
2
index.js
|
@ -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))
|
||||
|
|
|
@ -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": {
|
||||
|
|
Loading…
Reference in New Issue