mirror of https://github.com/docker/docs.git
Re-enabling redirects
This commit is contained in:
parent
a2ff02a96a
commit
fc85fcc0b9
4
404.md
4
404.md
|
@ -53,10 +53,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;
|
||||
|
|
Loading…
Reference in New Issue