From 6611a3f3dd5fbbf77b64242973d860e1b7f1a5ba Mon Sep 17 00:00:00 2001 From: Zain Rizvi Date: Thu, 25 Sep 2025 12:43:42 -0500 Subject: [PATCH] fix redirect --- 404.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 @@ } - +