From a9101f02c1372f197c3473083ed70bcf65e77c3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magnus=20=C3=85hall?= Date: Sat, 5 Aug 2023 08:14:49 +0200 Subject: [PATCH] Fixed cache problem for pages --- js/app.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/app.mjs b/js/app.mjs index ad338ca..40eccb5 100644 --- a/js/app.mjs +++ b/js/app.mjs @@ -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()