diff --git a/404.html b/404.html index 1e39ebf5a0cc..8b082ef56f68 100644 --- a/404.html +++ b/404.html @@ -55,7 +55,7 @@ META_PYTORCH_PROJECTS.map(project => [ project, { - location: `https://meta-pytorch.org/${project}`, + location: `https://meta-pytorch.org/${project}/`, style: REDIRECT_STYLE.FULL, } ]) @@ -71,7 +71,7 @@ // eg "docs/overview/" const SUBPATH = PATH_PARTS.slice(2).join('/'); - + // Perform the redirect only for explicitly defined projects. // Otherwise show the 404 page below if (PROJECTS.hasOwnProperty(PROJECT)) { @@ -100,7 +100,7 @@ } - +