Change to <meta refresh> redirects

This commit is contained in:
John Mulhausen 2016-10-06 12:30:28 -07:00
parent df9aff2877
commit 04e0a6fe28
1 changed files with 2 additions and 2 deletions

4
404.md
View File

@ -60,10 +60,10 @@ function doFwd() {
if (gonnaFwd) {
console.log("Forwarding to: " + 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 {
//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;