Remove hand crafted urls on viewer-index.ts

This commit is contained in:
klmp200 authored and Bartuccio Antoine committed 2024-10-13 10:55:15 +02:00
1 parent b6e1c3bc88
commit 00cf619c68
2 files changed
+7 -1

No files matched your search

+1 -1
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(