diff options
Diffstat (limited to 'viewer/src/views/MainLayout.vue')
-rw-r--r-- | viewer/src/views/MainLayout.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/viewer/src/views/MainLayout.vue b/viewer/src/views/MainLayout.vue index 2afd4b9..2a87ff1 100644 --- a/viewer/src/views/MainLayout.vue +++ b/viewer/src/views/MainLayout.vue | |||
@@ -25,7 +25,7 @@ export default class MainLayout extends Vue { | |||
25 | fetchGalleryItems() { | 25 | fetchGalleryItems() { |
26 | this.isLoading = true; | 26 | this.isLoading = true; |
27 | this.$galleryStore | 27 | this.$galleryStore |
28 | .fetchGalleryItems("/gallery/index.json") | 28 | .fetchGalleryItems(`${process.env.VUE_APP_DATA_URL}/index.json`) |
29 | .finally(() => (this.isLoading = false)) | 29 | .finally(() => (this.isLoading = false)) |
30 | .catch(this.displayError); | 30 | .catch(this.displayError); |
31 | } | 31 | } |