diff options
author | Zero~Informatique | 2020-01-29 23:11:55 +0100 |
---|---|---|
committer | Zero~Informatique | 2020-01-30 17:24:08 +0100 |
commit | 8670fb146e90f98653c776b01f29d905e5a6fe9f (patch) | |
tree | 2f75af9e06a8e7e6ee8815cc610c196240d2db11 /viewer/src | |
parent | 118666b4c3faeaeaf153a2ea7172764a3cbcffab (diff) | |
download | ldgallery-8670fb146e90f98653c776b01f29d905e5a6fe9f.tar.gz |
viewer: fixed subdirectory deploiement; all paths are now relative to index.html. resolves #17
Diffstat (limited to 'viewer/src')
-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 f608b9d..cedef58 100644 --- a/viewer/src/views/MainLayout.vue +++ b/viewer/src/views/MainLayout.vue | |||
@@ -44,7 +44,7 @@ export default class MainLayout extends Vue { | |||
44 | fetchGalleryItems() { | 44 | fetchGalleryItems() { |
45 | this.isLoading = true; | 45 | this.isLoading = true; |
46 | this.$galleryStore | 46 | this.$galleryStore |
47 | .fetchGalleryItems(`${process.env.VUE_APP_DATA_URL}/index.json`) | 47 | .fetchGalleryItems(`${process.env.VUE_APP_DATA_URL}index.json`) |
48 | .finally(() => (this.isLoading = false)) | 48 | .finally(() => (this.isLoading = false)) |
49 | .catch(this.displayError); | 49 | .catch(this.displayError); |
50 | } | 50 | } |