From 1039159981ce29583789b7ce0ffaa544926c9c74 Mon Sep 17 00:00:00 2001 From: dthelegend Date: Tue, 11 Jul 2023 22:15:24 +0100 Subject: [PATCH] Whoops! Shouldn't have changed pathSegmentsToKeep --- public/404.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/404.html b/public/404.html index 47c4a1d..54666da 100644 --- a/public/404.html +++ b/public/404.html @@ -22,7 +22,7 @@ // https://username.github.io/repo-name/one/two?a=b&c=d#qwe becomes // https://username.github.io/repo-name/?/one/two&a=b~and~c=d#qwe // Otherwise, leave pathSegmentsToKeep as 0. - var pathSegmentsToKeep = 1; + var pathSegmentsToKeep = 0; var l = window.location; l.replace(