Fixed cache problem for pages
This commit is contained in:
parent
e7b58fdd63
commit
a9101f02c1
@ -33,7 +33,7 @@ class App {
|
||||
})
|
||||
}//}}}
|
||||
retrieveVersion() {//{{{
|
||||
return fetch('/VERSION')
|
||||
return fetch('/VERSION', {cache: "no-store"})
|
||||
.then(res=>{
|
||||
if(res.ok)
|
||||
return res.text()
|
||||
@ -50,7 +50,7 @@ class App {
|
||||
if(page === null)
|
||||
page = 'start'
|
||||
|
||||
return fetch(`/${page}.yaml`)
|
||||
return fetch(`/${page}.yaml`, {cache: "no-store"})
|
||||
.then(res=>{
|
||||
if(res.ok)
|
||||
return res.text()
|
||||
|
Loading…
Reference in New Issue
Block a user