From f328a730b516f5e9104f85e553c083c2865660a8 Mon Sep 17 00:00:00 2001
From: pacien
Date: Mon, 4 May 2020 00:10:39 +0200
Subject: viewer/galleryStore: unify resource root parametrisation

---
 viewer/src/components/LdPicture.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'viewer/src/components/LdPicture.vue')

diff --git a/viewer/src/components/LdPicture.vue b/viewer/src/components/LdPicture.vue
index de46bcb..78829ec 100644
--- a/viewer/src/components/LdPicture.vue
+++ b/viewer/src/components/LdPicture.vue
@@ -76,7 +76,7 @@ export default class LdPicture extends Vue {
   }
 
   pictureSrc(resource: string) {
-    return `${process.env.VUE_APP_DATA_URL}${this.$galleryStore.config!.galleryRoot}${resource}`;
+    return this.$galleryStore.resourceRoot + resource;
   }
 
   generateSlowLoadingStyle() {
-- 
cgit v1.2.3

