aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/store
diff options
context:
space:
mode:
Diffstat (limited to 'viewer/src/store')
-rw-r--r--viewer/src/store/galleryStore.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/viewer/src/store/galleryStore.ts b/viewer/src/store/galleryStore.ts
index bcd4bc9..6f5f0ad 100644
--- a/viewer/src/store/galleryStore.ts
+++ b/viewer/src/store/galleryStore.ts
@@ -66,7 +66,7 @@ export default class GalleryStore extends VuexModule {
66 66
67 // Fetches the gallery's JSON config 67 // Fetches the gallery's JSON config
68 @action async fetchConfig() { 68 @action async fetchConfig() {
69 return fetch(`${process.env.VUE_APP_DATA_URL}config.json`) 69 return fetch(`${process.env.VUE_APP_DATA_URL}config.json`, { cache: "no-cache" })
70 .then(config => config.json()) 70 .then(config => config.json())
71 .then(this.setConfig); 71 .then(this.setConfig);
72 } 72 }
@@ -75,7 +75,7 @@ export default class GalleryStore extends VuexModule {
75 @action async fetchGalleryItems() { 75 @action async fetchGalleryItems() {
76 const root = this.config?.galleryRoot ?? ''; 76 const root = this.config?.galleryRoot ?? '';
77 const timestamp = this.config?.generationTimestamp ?? 0; 77 const timestamp = this.config?.generationTimestamp ?? 0;
78 return fetch(`${process.env.VUE_APP_DATA_URL}${root}index.json?${timestamp}`) 78 return fetch(`${process.env.VUE_APP_DATA_URL}${root}index.json`, { cache: "no-cache" })
79 .then(response => response.json()) 79 .then(response => response.json())
80 .then(this.setGalleryItemsRoot) 80 .then(this.setGalleryItemsRoot)
81 .then(this.indexTags); 81 .then(this.indexTags);