Remove hand crafted urls on viewer-index.ts

This commit is contained in:
2024-10-13 02:04:45 +02:00
committed by Bartuccio Antoine
parent b6e1c3bc88
commit 00cf619c68
2 changed files with 7 additions and 1 deletions

View File

@ -217,7 +217,7 @@ exportToHtml("loadViewer", (config: ViewerConfig) => {
const updateArgs = {
data: { sasPictureId: this.currentPicture.id },
unused: "",
url: `/sas/picture/${this.currentPicture.id}/`,
url: this.currentPicture.sas_url,
};
if (this.pushstate === History.Replace) {
window.history.replaceState(