]>
git.immae.eu Git - github/bastienwirtz/homer.git/blob - worker.js
1 self
.addEventListener('install', event
=> {
12 '/vendors/js-yaml.min.js',
14 'https://use.fontawesome.com/releases/v5.5.0/css/all.css',
15 'https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.2/css/bulma.css',
16 'https://fonts.googleapis.com/css?family=Lato|Raleway',
17 'https://cdn.jsdelivr.net/npm/vue@2.6.2/dist/vue.min.js',
23 self
.addEventListener('fetch', event
=> {
25 caches
.match(event
.request
).then(response
=> {
29 return fetch(event
.request
);