diff options
Diffstat (limited to 'viewer/src/components')
-rw-r--r-- | viewer/src/components/LdPicture.vue | 2 | ||||
-rw-r--r-- | viewer/src/components/LdThumbnail.vue | 2 |
2 files changed, 2 insertions, 2 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() { |
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 { | |||
47 | loading: boolean = false; | 47 | loading: boolean = false; |
48 | 48 | ||
49 | pictureSrc(resource: string) { | 49 | pictureSrc(resource: string) { |
50 | return `${process.env.VUE_APP_DATA_URL}${this.$galleryStore.config!.galleryRoot}${resource}`; | 50 | return this.$galleryStore.resourceRoot + resource; |
51 | } | 51 | } |
52 | 52 | ||
53 | pictureStyle() { | 53 | pictureStyle() { |