-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsw.js
25 lines (22 loc) · 1 KB
/
sw.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
importScripts('https://storage.googleapis.com/workbox-cdn/releases/6.4.2/workbox-sw.js');
const { workbox } = self;
const { precaching: { precacheAndRoute }} = workbox;
precacheAndRoute([
{ url: 'index.html', revision: null },
{ url: 'galaxy-cursor/galaxy-cursor.js', revision: null },
{ url: 'galaxy-cursor/galaxy-cursor.shared.js', revision: null },
{ url: 'galaxy-cursor/galaxy-cursor.worker.js', revision: null },
{ url: 'galaxy-cursor/libs/debounce.js', revision: null },
{ url: 'galaxy-cursor//libs/easing-functions.js', revision: null },
{ url: 'galaxy-cursor//libs/tween.js', revision: null },
{ url: 'css/style.css', revision: null },
{ url: 'img/bg.jpeg', revision: null },
{ url: 'sw.js', revision: null },
{ url: 'manifest.webmanifest', revision: null },
{ url: 'ico/icon-192x192.png', revision: null },
{ url: 'ico/icon-256x256.png', revision: null },
{ url: 'ico/icon-384x384.png', revision: null },
{ url: 'ico/icon-512x512.png', revision: null }
], {
cleanUrls: false,
});