From b61f7d2b919c5958856ab8f811178c08ee80607d Mon Sep 17 00:00:00 2001 From: Kilian Saffran Date: Mon, 18 Jan 2021 16:17:22 +0100 Subject: [PATCH] v202101181617 t1.1.2 --- app/static/js/sw.js | 40 ++++++++++++++++++++-------------------- app/tmpl/index.tt | 2 +- desktopapp/package.json | 2 +- 3 files changed, 22 insertions(+), 22 deletions(-) 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": { -- 2.39.5