Compare commits

...

2 Commits

Author SHA1 Message Date
Magnus Åhall
c9ea188e7e Bumped to v5 2023-08-05 08:15:04 +02:00
Magnus Åhall
a9101f02c1 Fixed cache problem for pages 2023-08-05 08:14:49 +02:00
2 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
v4
v5

View File

@ -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()