We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c36210a commit 928695bCopy full SHA for 928695b
1 file changed
src/main.ts
@@ -17,12 +17,12 @@ Vue.use(DayJSPlugin)
17
Vue.use(FiltersPlugin)
18
19
// Load API configuration
20
-fetch('/config.json')
+fetch('/config.json', { cache: 'no-store' })
21
.then(res => res.json())
22
.then(apiConfig => {
23
// Commit the api configuration to our store.
24
store.commit('config/onInitApiConfig', apiConfig)
25
- return fetch(apiConfig.apiUrl + '/server/files/config/' + Globals.SETTINGS_FILENAME)
+ return fetch(apiConfig.apiUrl + '/server/files/config/' + Globals.SETTINGS_FILENAME, { cache: 'no-store' })
26
.then(res => (!res.ok) ? undefined : res.json())
27
.then((fileConfig) => {
28
// Init the store. This should include any GUI settings we've loaded from moonraker.
0 commit comments