set pathSegmentsToKeep to 1

This commit is contained in:
Lucas Payr 2021-06-09 15:51:38 +02:00
parent 7ff7365809
commit 53f0e69f11

View File

@ -23,7 +23,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(