summaryrefslogtreecommitdiff
path: root/web/static/sw.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/static/sw.js')
-rw-r--r--web/static/sw.js11
1 files changed, 8 insertions, 3 deletions
diff --git a/web/static/sw.js b/web/static/sw.js
index 6359ae5..bf1d818 100644
--- a/web/static/sw.js
+++ b/web/static/sw.js
@@ -1,5 +1,5 @@
const CACHE_PREFIX = 'dartboat-'
-const CACHE_VERSION = '4';
+const CACHE_VERSION = '5';
const CACHE_NAME = `${CACHE_PREFIX}${CACHE_VERSION}`;
const CACHE_FILES = [
@@ -8,8 +8,13 @@ const CACHE_FILES = [
'dartboat.js',
'dartboat_wasm.js',
'dartboat_wasm.wasm',
- 'fonts/bootstrap-icons-sub.woff2',
- 'fonts/inter-num.woff2'
+ 'fonts/Lato-Regular.woff2',
+ 'fonts/Lato-Bold.woff2',
+ 'fonts/SourceSerif4-Regular.ttf.woff2',
+ 'fonts/SourceSerif4-It.ttf.woff2',
+ 'fonts/SourceSerif4-Bold.ttf.woff2',
+ 'fonts/Inter-num.woff2',
+ 'fonts/bootstrap-icons-sub.woff2'
]
function swlog(str) {