From 0e2e9760720cf1a3a87b8831800420c2891963d6 Mon Sep 17 00:00:00 2001 From: Derf Null Date: Fri, 31 Mar 2023 17:46:51 +0200 Subject: [PATCH] Release assets --- public/service-worker.js | 24 ++++++++++++------------ public/static/css/material-icons.css | 8 ++++---- public/static/manifest.json | 12 ++++++------ public/static/{v50 => v52} | 0 templates/layouts/default.html.ep | 2 +- 5 files changed, 23 insertions(+), 23 deletions(-) rename public/static/{v50 => v52} (100%) diff --git a/public/service-worker.js b/public/service-worker.js index dadb6a4..234c9d7 100644 --- a/public/service-worker.js +++ b/public/service-worker.js @@ -1,18 +1,18 @@ -const CACHE_NAME = 'static-cache-v51'; +const CACHE_NAME = 'static-cache-v52'; const FILES_TO_CACHE = [ '/favicon.ico', '/offline.html', - '/static/v51/css/light.min.css', - '/static/v51/css/dark.min.css', - '/static/v51/css/material-icons.css', - '/static/v51/fonts/MaterialIcons-Regular.woff2', - '/static/v51/fonts/MaterialIcons-Regular.woff', - '/static/v51/fonts/MaterialIcons-Regular.ttf', - '/static/v51/js/jquery-3.4.1.min.js', - '/static/v51/js/materialize.min.js', - '/static/v51/js/travelynx-actions.min.js', - '/static/v51/js/autocomplete.min.js', - '/static/v51/js/geolocation.min.js', + '/static/v52/css/light.min.css', + '/static/v52/css/dark.min.css', + '/static/v52/css/material-icons.css', + '/static/v52/fonts/MaterialIcons-Regular.woff2', + '/static/v52/fonts/MaterialIcons-Regular.woff', + '/static/v52/fonts/MaterialIcons-Regular.ttf', + '/static/v52/js/jquery-3.4.1.min.js', + '/static/v52/js/materialize.min.js', + '/static/v52/js/travelynx-actions.min.js', + '/static/v52/js/autocomplete.min.js', + '/static/v52/js/geolocation.min.js', ]; self.addEventListener('install', (evt) => { diff --git a/public/static/css/material-icons.css b/public/static/css/material-icons.css index 7ded7ac..331474d 100644 --- a/public/static/css/material-icons.css +++ b/public/static/css/material-icons.css @@ -2,12 +2,12 @@ font-family: 'Material Icons'; font-style: normal; font-weight: 400; - src: url(/static/v51/fonts/MaterialIcons-Regular.eot); /* For IE6-8 */ + src: url(/static/v52/fonts/MaterialIcons-Regular.eot); /* For IE6-8 */ src: local('Material Icons'), local('MaterialIcons-Regular'), - url(/static/v51/fonts/MaterialIcons-Regular.woff2) format('woff2'), - url(/static/v51/fonts/MaterialIcons-Regular.woff) format('woff'), - url(/static/v51/fonts/MaterialIcons-Regular.ttf) format('truetype'); + url(/static/v52/fonts/MaterialIcons-Regular.woff2) format('woff2'), + url(/static/v52/fonts/MaterialIcons-Regular.woff) format('woff'), + url(/static/v52/fonts/MaterialIcons-Regular.ttf) format('truetype'); } .material-icons { diff --git a/public/static/manifest.json b/public/static/manifest.json index bc37fe7..35cfea4 100644 --- a/public/static/manifest.json +++ b/public/static/manifest.json @@ -3,27 +3,27 @@ "short_name": "Travelynx", "scope": "/", "icons": [{ - "src": "/static/v51/icons/icon-128x128.png", + "src": "/static/v52/icons/icon-128x128.png", "sizes": "128x128", "type": "image/png" }, { - "src": "/static/v51/icons/icon-144x144.png", + "src": "/static/v52/icons/icon-144x144.png", "sizes": "144x144", "type": "image/png" }, { - "src": "/static/v51/icons/icon-152x152.png", + "src": "/static/v52/icons/icon-152x152.png", "sizes": "152x152", "type": "image/png" }, { - "src": "/static/v51/icons/icon-192x192.png", + "src": "/static/v52/icons/icon-192x192.png", "sizes": "192x192", "type": "image/png" }, { - "src": "/static/v51/icons/icon-256x256.png", + "src": "/static/v52/icons/icon-256x256.png", "sizes": "256x256", "type": "image/png" }, { - "src": "/static/v51/icons/icon-512x512.png", + "src": "/static/v52/icons/icon-512x512.png", "sizes": "512x512", "type": "image/png" }], diff --git a/public/static/v50 b/public/static/v52 similarity index 100% rename from public/static/v50 rename to public/static/v52 diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep index 66c0e6b..9393021 100644 --- a/templates/layouts/default.html.ep +++ b/templates/layouts/default.html.ep @@ -13,7 +13,7 @@ % while (my ($key, $value) = each %{stash('opengraph') // {}}) { % } - % my $av = 'v51'; # asset version + % my $av = 'v52'; # asset version