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/store | |
parent | 665139f7d25a64f66e1149a6403fc26efcbabb2a (diff) | |
download | ldgallery-f328a730b516f5e9104f85e553c083c2865660a8.tar.gz |
viewer/galleryStore: unify resource root parametrisation
Diffstat (limited to 'viewer/src/store')
-rw-r--r-- | viewer/src/store/galleryStore.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/viewer/src/store/galleryStore.ts b/viewer/src/store/galleryStore.ts index 0cffdd9..a57122c 100644 --- a/viewer/src/store/galleryStore.ts +++ b/viewer/src/store/galleryStore.ts | |||
@@ -79,6 +79,10 @@ export default class GalleryStore extends VuexModule { | |||
79 | return this.galleryIndex?.properties.galleryTitle ?? "ldgallery"; | 79 | return this.galleryIndex?.properties.galleryTitle ?? "ldgallery"; |
80 | } | 80 | } |
81 | 81 | ||
82 | get resourceRoot(): string { | ||
83 | return process.env.VUE_APP_DATA_URL + this.config!.galleryRoot; | ||
84 | } | ||
85 | |||
82 | // --- | 86 | // --- |
83 | 87 | ||
84 | // Fetches the gallery's JSON config | 88 | // Fetches the gallery's JSON config |