summaryrefslogtreecommitdiff
path: root/templates
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 /templates
parent5178e58c0ceb59d46dc3dfca59d8f35edb4791b3 (diff)
use versioning for service worker and web app manifest
Diffstat (limited to 'templates')
-rw-r--r--templates/layouts/default.html.ep6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep
index c7f0847..8b81a5e 100644
--- a/templates/layouts/default.html.ep
+++ b/templates/layouts/default.html.ep
@@ -8,9 +8,9 @@
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="Weather PWA">
- <link rel="apple-touch-icon" href="/static/icons/icon-152x152.png">
- <link rel="manifest" href="/static/manifest.json">
- % my $av = 'v10'; # asset version
+ % my $av = 'v11'; # asset version
+ <link rel="apple-touch-icon" href="/static/<%= $av %>/icons/icon-152x152.png">
+ <link rel="manifest" href="/static/<%= $av %>/manifest.json">
%= stylesheet "/static/${av}/css/materialize.min.css"
%= stylesheet "/static/${av}/css/material-icons.css"
%= stylesheet "/static/${av}/css/local.css"