mirror of https://github.com/docker/docs.git
Change to <meta refresh> redirects
This commit is contained in:
parent
df9aff2877
commit
04e0a6fe28
4
404.md
4
404.md
|
@ -60,10 +60,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;
|
||||||
|
|
Loading…
Reference in New Issue