From 11cb9887f66de97bcfc75d09521884e1bc527d3e Mon Sep 17 00:00:00 2001 From: Gabriel Moreno Date: Mon, 25 May 2026 14:31:02 -0500 Subject: [PATCH] fix: port over 404.html --- docs/404.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/404.html b/docs/404.html index c65a56f2bc..dae070593a 100644 --- a/docs/404.html +++ b/docs/404.html @@ -61,7 +61,11 @@ if (redirectToUrl) { fetch(redirectToUrl, { method: 'HEAD' - }).then(() => { + }).then((response) => { + if (!response.ok) { + is404(); + return; + } try { window.location.replace(redirectToUrl); } catch (err) { @@ -129,7 +133,7 @@
-