From 018357c5ed513e0ba0f0c228b81b8fb033da99fe Mon Sep 17 00:00:00 2001 From: Spythere Date: Fri, 12 Jul 2024 19:55:24 +0200 Subject: [PATCH] hotfix: api cache omitting --- src/store.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store.ts b/src/store.ts index 06d5e78..4a6ca2b 100644 --- a/src/store.ts +++ b/src/store.ts @@ -34,7 +34,7 @@ export const useStore = defineStore('store', { this.dataState = 'LOADING'; try { - const data = (await client.get(`api/getSceneries`)).data; + const data = (await client.get(`api/getSceneries?t=${Date.now()}`)).data; this.dataState = 'LOADED'; this.backupList = JSON.parse(JSON.stringify(data)); this.stationList = data;