Skip to content

Commit

Permalink
Whoops! Shouldn't have changed pathSegmentsToKeep
Browse files Browse the repository at this point in the history
  • Loading branch information
dthelegend committed Jul 11, 2023
1 parent 72cab03 commit 1039159
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 1039159

Please sign in to comment.