deploy: c3a5ac4de1d3de0f85a80dd8a02abface447c9f5

This commit is contained in:
Half-Shot 2022-03-30 10:46:29 +00:00
parent df9b0bbdcd
commit 4564cb252e
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('/'),
].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('/'),
].join('/');
window.location = `${window.location.origin}${path}`;
});