diff options
author | pacien | 2020-05-04 00:10:39 +0200 |
---|---|---|
committer | pacien | 2020-05-04 00:10:39 +0200 |
commit | f328a730b516f5e9104f85e553c083c2865660a8 (patch) | |
tree | cf665afc3bcbbc42504c0270f76814f7489fb21d /viewer/src/components/LdPicture.vue | |
parent | 665139f7d25a64f66e1149a6403fc26efcbabb2a (diff) | |
download | ldgallery-f328a730b516f5e9104f85e553c083c2865660a8.tar.gz |
viewer/galleryStore: unify resource root parametrisation
Diffstat (limited to 'viewer/src/components/LdPicture.vue')
-rw-r--r-- | viewer/src/components/LdPicture.vue | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
76 | } | 76 | } |
77 | 77 | ||
78 | pictureSrc(resource: string) { | 78 | pictureSrc(resource: string) { |
79 | return `${process.env.VUE_APP_DATA_URL}${this.$galleryStore.config!.galleryRoot}${resource}`; | 79 | return this.$galleryStore.resourceRoot + resource; |
80 | } | 80 | } |
81 | 81 | ||
82 | generateSlowLoadingStyle() { | 82 | generateSlowLoadingStyle() { |