add apple touch icons
This commit is contained in:
parent
b2f8f356ed
commit
ad36d9274d
BIN
assets/apple-icon-120.png
Normal file
BIN
assets/apple-icon-120.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.2 KiB |
BIN
assets/apple-icon-180.png
Normal file
BIN
assets/apple-icon-180.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.3 KiB |
|
@ -8,6 +8,8 @@
|
||||||
|
|
||||||
<link rel='manifest' href='/manifest.json' >
|
<link rel='manifest' href='/manifest.json' >
|
||||||
<link id='theFavicon' rel='icon' type='image/png' href='/favicon.png' >
|
<link id='theFavicon' rel='icon' type='image/png' href='/favicon.png' >
|
||||||
|
<link rel="apple-touch-icon" sizes="120x120" href="/apple-icon-120.png" >
|
||||||
|
<link rel="apple-touch-icon" sizes="180x180" href="/apple-icon-180.png" >
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
/* auto-generated w/ build-sass.js */
|
/* auto-generated w/ build-sass.js */
|
||||||
|
|
|
@ -5,6 +5,7 @@ const ASSETS = `cache${timestamp}`
|
||||||
// `assets` is an array of everything in the `assets` directory
|
// `assets` is an array of everything in the `assets` directory
|
||||||
const toCache = __shell__.concat(__assets__)
|
const toCache = __shell__.concat(__assets__)
|
||||||
.filter(filename => !filename.endsWith('.map'))
|
.filter(filename => !filename.endsWith('.map'))
|
||||||
|
.filter(filename => !filename.startsWith('apple-icon'))
|
||||||
const cached = new Set(toCache)
|
const cached = new Set(toCache)
|
||||||
|
|
||||||
// `routes` is an array of `{ pattern: RegExp }` objects that
|
// `routes` is an array of `{ pattern: RegExp }` objects that
|
||||||
|
|
Loading…
Reference in a new issue