Attempt to fix the PWA mechanism

This commit is contained in:
Martin Donnelly 2020-05-04 11:52:54 +01:00
parent fe957e7e50
commit fe447517ee
4 changed files with 18 additions and 6 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -7,7 +7,19 @@
<title>Traintimes</title>
<link rel='icon' type='image/png' href='/favicon.png'>
<!--<link rel='stylesheet' href='/global.css'>-->
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/img/favicon-16x16.png">
<link rel="manifest" href="/manifest.json">
<link rel="mask-icon" href="/img/safari-pinned-tab.svg" color="#5bbad5">
<meta name="apple-mobile-web-app-title" content="Train Times">
<meta name="application-name" content="Train Times">
<meta name="theme-color" content="#ffffff">
<!--<link rel='stylesheet' href='/global.c
ss'>-->
<link rel='stylesheet' href='/build/bundle.css'>
<script defer src='/build/bundle.js'></script>

View File

@ -23,8 +23,8 @@ const filesToCache = [
'/browserconfig.xml',
'/build/bundle.css',
'/build/bundle.js',
'/fonts/fujicons.css',
'/fonts/fujicons.ttf',
'/build/fonts/fujicons.css',
'/build/fonts/fujicons.ttf',
'/img/Icon-36.png',
'/img/Icon-48.png',
'/img/Icon-72.png',