Cache favicon with ServiceWorker
This commit is contained in:
parent
c68a7ad987
commit
819697d697
2 changed files with 5 additions and 4 deletions
|
@ -20,8 +20,8 @@
|
|||
<meta name="twitter:description" content="Instantly share images, videos, PDFs, and links with people nearby. Peer2Peer and Open Source. No Setup, No Signup.">
|
||||
<meta name="og:description" content="Instantly share images, videos, PDFs, and links with people nearby. Peer2Peer and Open Source. No Setup, No Signup.">
|
||||
<!-- Icons -->
|
||||
<link rel="icon" sizes="96x96" href="images/favicon-96x96.png?">
|
||||
<link rel="shortcut icon" href="images/favicon-96x96.png?">
|
||||
<link rel="icon" sizes="96x96" href="images/favicon-96x96.png">
|
||||
<link rel="shortcut icon" href="images/favicon-96x96.png">
|
||||
<link rel="apple-touch-icon" href="images/apple-touch-icon.png">
|
||||
<meta name="msapplication-TileImage" content="images/mstile-150x150.png">
|
||||
<link rel="fluid-icon" type="image/png" href="images/android-chrome-192x192.png">
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
var CACHE_NAME = 'snapdrop-cache-v1.0';
|
||||
var CACHE_NAME = 'snapdrop-cache-v1.01';
|
||||
var urlsToCache = [
|
||||
'/',
|
||||
'/styles.css',
|
||||
'/scripts/network.js',
|
||||
'/scripts/ui.js',
|
||||
'/sounds/blop.mp3'
|
||||
'/sounds/blop.mp3',
|
||||
'/images/favicon-96x96.png'
|
||||
];
|
||||
|
||||
self.addEventListener('install', function(event) {
|
||||
|
|
Loading…
Reference in a new issue