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/LdThumbnail.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

diff --git a/viewer/src/components/LdThumbnail.vue b/viewer/src/components/LdThumbnail.vue
index e774f00..bfcc595 100644
--- a/viewer/src/components/LdThumbnail.vue
+++ b/viewer/src/components/LdThumbnail.vue
@@ -47,7 +47,7 @@ export default class LdThumbnail extends Vue {
   loading: boolean = false;
 
   pictureSrc(resource: string) {
-    return `${process.env.VUE_APP_DATA_URL}${this.$galleryStore.config!.galleryRoot}${resource}`;
+    return this.$galleryStore.resourceRoot + resource;
   }
 
   pictureStyle() {
-- 
cgit v1.2.3

