Fix for fwding

This commit is contained in:
John Mulhausen 2016-10-05 17:33:14 -07:00
parent e3cb726706
commit f9dc08d830
1 changed files with 4 additions and 4 deletions

8
404.md
View File

@ -60,11 +60,11 @@ function doFwd() {
}{% endfor %}
if (gonnaFwd) {
console.log("Forwarding to: " + newURL);
//window.location.replace(newURL);
//document.write('<meta http-equiv="refresh" content="0; url=' + newURL + '">')
window.location.replace(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 + '">')
window.location.replace("/sorry/#" + forwardingURL);
document.write('<meta http-equiv="refresh" content="0; url=/sorry/#' + forwardingURL + '">')
}
}
window.onload = doFwd;