From ab76270ca917e62427461a7a7a2bf534ff78009d Mon Sep 17 00:00:00 2001 From: Bastien Wirtz Date: Sun, 12 Jan 2020 21:45:37 -0800 Subject: Adding full off network support. --- worker.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'worker.js') diff --git a/worker.js b/worker.js index a887a0a..9ccc449 100644 --- a/worker.js +++ b/worker.js @@ -9,12 +9,15 @@ self.addEventListener('install', event => { 'config.yml', 'app.css', 'app.js', + 'vendors/vue.min.js', 'vendors/js-yaml.min.js', + 'vendors/font-awesone.min.css', + 'vendors/bulma.min.css', 'assets/logo.png', - 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.min.css', - 'https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.5/css/bulma.min.css', - 'https://fonts.googleapis.com/css?family=Lato|Raleway&display=swap', - 'https://cdn.jsdelivr.net/npm/vue@2.6.10/dist/vue.min.js', + 'webfonts/raleway/raleway-v14-latin-regular.woff', + 'webfonts/raleway/raleway-v14-latin-regular.woff2', + 'webfonts/lato/lato-v16-latin-regular.woff', + 'webfonts/lato/lato-v16-latin-regular.woff2', ]) ) ) -- cgit v1.2.3 From c1ec54ff354ad17fbbbbf67c4c1a701cdb0393f7 Mon Sep 17 00:00:00 2001 From: Bastien Wirtz Date: Mon, 13 Jan 2020 13:42:57 -0800 Subject: Add missing font-awesome file in cache --- worker.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'worker.js') diff --git a/worker.js b/worker.js index 9ccc449..e060360 100644 --- a/worker.js +++ b/worker.js @@ -18,6 +18,21 @@ self.addEventListener('install', event => { 'webfonts/raleway/raleway-v14-latin-regular.woff2', 'webfonts/lato/lato-v16-latin-regular.woff', 'webfonts/lato/lato-v16-latin-regular.woff2', + 'webfonts/fa-brands-400.woff', + 'webfonts/fa-brands-400.woff2', + 'webfonts/fa-brands-400.svg', + 'webfonts/fa-brands-400.ttf', + 'webfonts/fa-brands-400.eot', + 'webfonts/fa-regular-400.woff', + 'webfonts/fa-regular-400.woff2', + 'webfonts/fa-regular-400.svg', + 'webfonts/fa-regular-400.ttf', + 'webfonts/fa-regular-400.eot', + 'webfonts/fa-solid-900.woff', + 'webfonts/fa-solid-900.woff2', + 'webfonts/fa-solid-900.svg', + 'webfonts/fa-solid-900.ttf', + 'webfonts/fa-solid-900.eot', ]) ) ) -- cgit v1.2.3 From 45b49b30cf300e1c76501c808a63caa1aa501294 Mon Sep 17 00:00:00 2001 From: Bastien Wirtz Date: Tue, 14 Jan 2020 07:13:17 -0800 Subject: Adding missing assets to the service worker cache --- worker.js | 1 + 1 file changed, 1 insertion(+) (limited to 'worker.js') diff --git a/worker.js b/worker.js index e060360..029578a 100644 --- a/worker.js +++ b/worker.js @@ -14,6 +14,7 @@ self.addEventListener('install', event => { 'vendors/font-awesone.min.css', 'vendors/bulma.min.css', 'assets/logo.png', + 'assets/favicon.png', 'webfonts/raleway/raleway-v14-latin-regular.woff', 'webfonts/raleway/raleway-v14-latin-regular.woff2', 'webfonts/lato/lato-v16-latin-regular.woff', -- cgit v1.2.3