Update 404.md
This commit is contained in:
@@ -14,7 +14,7 @@ $( document ).ready(function() {
|
|||||||
if (forwardingURL.indexOf(fwdDirs[i]) > -1)
|
if (forwardingURL.indexOf(fwdDirs[i]) > -1)
|
||||||
{
|
{
|
||||||
var urlPieces = forwardingURL.split(fwdDirs[i]);
|
var urlPieces = forwardingURL.split(fwdDirs[i]);
|
||||||
var newURL = "https://github.com/kubernetes/kubernetes/tree/master/" + fwdDirs[i];
|
var newURL = "https://github.com/kubernetes/kubernetes/tree/master/" + fwdDirs[i] + urlPieces[1];
|
||||||
notHere = true;
|
notHere = true;
|
||||||
window.location.replace(newURL);
|
window.location.replace(newURL);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user