summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-05-03 21:02:24 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-05-03 21:02:24 +0200
commitcdbb3ee45bade7dbd8158b04dec766bf6f01e8cf (patch)
treeeb1bb9493687e00af22da87aa5fa8c3ef8708496 /public
parent5178e58c0ceb59d46dc3dfca59d8f35edb4791b3 (diff)
use versioning for service worker and web app manifest
Diffstat (limited to 'public')
-rw-r--r--public/service-worker.js14
-rw-r--r--public/static/manifest.json12
l---------public/static/v11 (renamed from public/static/v9)0
3 files changed, 13 insertions, 13 deletions
diff --git a/public/service-worker.js b/public/service-worker.js
index 2b5c556..6a9a05b 100644
--- a/public/service-worker.js
+++ b/public/service-worker.js
@@ -1,12 +1,12 @@
-const CACHE_NAME = 'static-cache-v10';
+const CACHE_NAME = 'static-cache-v11';
const FILES_TO_CACHE = [
'/offline.html',
- '/static/v10/css/materialize.min.css',
- '/static/v10/css/material-icons.css',
- '/static/v10/css/local.css',
- '/static/v10/js/jquery-2.2.4.min.js',
- '/static/v10/js/materialize.min.js',
- '/static/v10/js/travelynx-actions.min.js',
+ '/static/v11/css/materialize.min.css',
+ '/static/v11/css/material-icons.css',
+ '/static/v11/css/local.css',
+ '/static/v11/js/jquery-2.2.4.min.js',
+ '/static/v11/js/materialize.min.js',
+ '/static/v11/js/travelynx-actions.min.js',
];
self.addEventListener('install', (evt) => {
diff --git a/public/static/manifest.json b/public/static/manifest.json
index 09970d9..5607d87 100644
--- a/public/static/manifest.json
+++ b/public/static/manifest.json
@@ -3,27 +3,27 @@
"short_name": "travelynx",
"scope": "/",
"icons": [{
- "src": "/static/icons/icon-128x128.png",
+ "src": "/static/v11/icons/icon-128x128.png",
"sizes": "128x128",
"type": "image/png"
}, {
- "src": "/static/icons/icon-144x144.png",
+ "src": "/static/v11/icons/icon-144x144.png",
"sizes": "144x144",
"type": "image/png"
}, {
- "src": "/static/icons/icon-152x152.png",
+ "src": "/static/v11/icons/icon-152x152.png",
"sizes": "152x152",
"type": "image/png"
}, {
- "src": "/static/icons/icon-192x192.png",
+ "src": "/static/v11/icons/icon-192x192.png",
"sizes": "192x192",
"type": "image/png"
}, {
- "src": "/static/icons/icon-256x256.png",
+ "src": "/static/v11/icons/icon-256x256.png",
"sizes": "256x256",
"type": "image/png"
}, {
- "src": "/static/icons/icon-512x512.png",
+ "src": "/static/v11/icons/icon-512x512.png",
"sizes": "512x512",
"type": "image/png"
}],
diff --git a/public/static/v9 b/public/static/v11
index 945c9b4..945c9b4 120000
--- a/public/static/v9
+++ b/public/static/v11