From: Kilian Saffran Date: Mon, 18 Jan 2021 15:17:22 +0000 (+0100) Subject: v202101181617 t1.1.2 X-Git-Tag: 1.1.2 X-Git-Url: http://cloud.dks.lu/git/?a=commitdiff_plain;h=b61f7d2b919c5958856ab8f811178c08ee80607d;p=pot_lu.git v202101181617 t1.1.2 --- diff --git a/app/static/js/sw.js b/app/static/js/sw.js index e3e5d96b..0a364eac 100644 --- a/app/static/js/sw.js +++ b/app/static/js/sw.js @@ -1,21 +1,21 @@ -const staticpot = "pot" -const assets = [ - "/", - "/index.html" -] - -self.addEventListener("install", installEvent => { - installEvent.waitUntil( - caches.open(staticpot).then(cache => { - cache.addAll(assets) - }) - ) -}) - -self.addEventListener("fetch", fetchEvent => { - fetchEvent.respondWith( - caches.match(fetchEvent.request).then(res => { - return res || fetch(fetchEvent.request) - }) - ) +const staticpot = "pot" +const assets = [ + "/", + "/index.html" +] + +self.addEventListener("install", installEvent => { + installEvent.waitUntil( + caches.open(staticpot).then(cache => { + cache.addAll(assets) + }) + ) +}) + +self.addEventListener("fetch", fetchEvent => { + fetchEvent.respondWith( + caches.match(fetchEvent.request).then(res => { + return res || fetch(fetchEvent.request) + }) + ) }) \ No newline at end of file diff --git a/app/tmpl/index.tt b/app/tmpl/index.tt index cea6cf4d..b7021b76 100644 --- a/app/tmpl/index.tt +++ b/app/tmpl/index.tt @@ -1,4 +1,4 @@ -[% appversion='1.0.28dev2' %] +[% appversion='1.1.2' %] [% minify = '' %] [% PROCESS "lang/${lang}.tt" %] diff --git a/desktopapp/package.json b/desktopapp/package.json index 9b6ba037..d70b2301 100644 --- a/desktopapp/package.json +++ b/desktopapp/package.json @@ -1,6 +1,6 @@ { "name": "POT", - "version": "1.0.28", + "version": "1.1.2", "description": "plan d'organisation du travail", "main": "main.js", "scripts": {