deploy: 1bd13307820cbe3e548c8f08ccafec50159b435d

This commit is contained in:
Half-Shot 2022-03-30 10:57:52 +00:00
parent a29f271b5f
commit ddf4cb78df
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ window.addEventListener("load", () => {
const path = [
...window.location.pathname.split('/').slice(0, 2),
event.target.value,
...window.location.pathname.split('/').slice(3).join('/'),
...window.location.pathname.split('/').slice(3),
].join('/');
window.location = `${window.location.origin}${path}`;
});

View File

@ -31,7 +31,7 @@ window.addEventListener("load", () => {
const path = [
...window.location.pathname.split('/').slice(0, 2),
event.target.value,
...window.location.pathname.split('/').slice(3).join('/'),
...window.location.pathname.split('/').slice(3),
].join('/');
window.location = `${window.location.origin}${path}`;
});