Re-enabling redirects

This commit is contained in:
John Mulhausen 2016-10-06 17:00:33 -07:00
parent a2ff02a96a
commit fc85fcc0b9
1 changed files with 2 additions and 2 deletions

4
404.md
View File

@ -53,10 +53,10 @@ function doFwd() {
if (gonnaFwd) { if (gonnaFwd) {
console.log("Forwarding to: " + newURL); console.log("Forwarding to: " + newURL);
//window.location.replace(newURL); //window.location.replace(newURL);
//document.write('<meta http-equiv="refresh" content="0; url=' + newURL + '">') document.write('<meta http-equiv="refresh" content="0; url=' + newURL + '">')
} else { } else {
//window.location.replace("/sorry/#" + forwardingURL); //window.location.replace("/sorry/#" + forwardingURL);
//document.write('<meta http-equiv="refresh" content="0; url=/sorry/#' + forwardingURL + '">') document.write('<meta http-equiv="refresh" content="0; url=/sorry/#' + forwardingURL + '">')
} }
} }
window.onload = doFwd; window.onload = doFwd;