From d4c2d4bd72bddbf4c98009cc902871c8c6a48a8a Mon Sep 17 00:00:00 2001 From: Rayson Yeap <88478542+Respirayson@users.noreply.github.com> Date: Sat, 9 Mar 2024 02:30:25 +0800 Subject: [PATCH] Update 404.html --- 404.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/404.html b/404.html index fb3f2db..47c4a1d 100644 --- a/404.html +++ b/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 = 0; + var pathSegmentsToKeep = 1; var l = window.location; l.replace( @@ -37,4 +37,4 @@ - \ No newline at end of file +