Change snapshot hrefs to relative paths

This commit is contained in:
Maciej Pędzich 2023-01-18 22:21:50 +01:00
parent ce0d6f847c
commit 1be89a1874

View File

@ -62,9 +62,7 @@ const getCommitSha = (day: number) =>
dateToCommitShaMap.value[day.toString().padStart(2, '0')];
const openSnapshotPage = (day: number) =>
(location.href = `/playlists/${props.playlistId}/snapshots/${getCommitSha(
day
)}`);
(location.href = `./snapshots/${getCommitSha(day)}`);
const updateQueryAndReloadSnapshots = async ({
month,