From 2f31732eaae62123a7e05aacfcc4b19b3d8b1989 Mon Sep 17 00:00:00 2001 From: kevinfiol Date: Tue, 11 Apr 2023 00:04:14 -0400 Subject: [PATCH] correct --- dist/404.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/404.html b/dist/404.html index 54666da..ccf02e1 100644 --- a/dist/404.html +++ b/dist/404.html @@ -27,7 +27,7 @@ var l = window.location; l.replace( l.protocol + '//' + l.hostname + (l.port ? ':' + l.port : '') + - l.pathname.split('/').slice(0, 1 + pathSegmentsToKeep).join('/') + '/?/' + + l.pathname.split('/').slice(0, 1 + pathSegmentsToKeep).join('/') + '/' + l.pathname.slice(1).split('/').slice(pathSegmentsToKeep).join('/').replace(/&/g, '~and~') + (l.search ? '&' + l.search.slice(1).replace(/&/g, '~and~') : '') + l.hash