Skip to content

Commit e0e9ad7

Browse files
authored
Update service-worker.js
1 parent 99a3f2e commit e0e9ad7

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

service-worker.js

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22

33
// update cache names any time any of the cached files change
4-
const CACHE_NAME = 'static-cache-v178';
4+
const CACHE_NAME = 'static-cache-v216';
55

66
// list of files to cache
77
const FILES_TO_CACHE = [
@@ -22,6 +22,7 @@ const FILES_TO_CACHE = [
2222
'/git/gitauth.js',
2323
'/codedrop.js',
2424
'/filebrowser.js',
25+
'/live-view.js',
2526
'/spotlightsearch.js',
2627
'/localstorage.js',
2728
'/bottomfloat.js',
@@ -30,17 +31,10 @@ const FILES_TO_CACHE = [
3031

3132
'/fonts/fonts.css',
3233
'/fonts/googlesansmono.woff2',
33-
34-
'https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap',
35-
'https://fonts.gstatic.com/s/inter/v3/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa1ZL7W0Q5nw.woff2',
36-
37-
'https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap',
38-
'https://fonts.gstatic.com/s/robotomono/v13/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_ROW-AJi8SJQt.woff',
39-
'https://fonts.gstatic.com/s/robotomono/v13/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_SuW-AJi8SJQtQ4Y.woff',
40-
'https://fonts.gstatic.com/s/robotomono/v13/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_S-W-AJi8SJQtQ4Y.woff',
41-
'https://fonts.gstatic.com/s/robotomono/v13/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_R-W-AJi8SJQtQ4Y.woff',
42-
'https://fonts.gstatic.com/s/robotomono/v13/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_QOW-AJi8SJQtQ4Y.woff',
43-
'https://fonts.gstatic.com/s/robotomono/v13/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_SeW-AJi8SJQtQ4Y.woff',
34+
35+
'https://rsms.me/inter/inter.css',
36+
'https://rsms.me/inter/font-files/Inter-Regular.woff2?v=3.19',
37+
'https://rsms.me/inter/font-files/Inter-roman.var.woff2?v=3.19',
4438

4539
'https://plausible.io/js/plausible.js',
4640

0 commit comments

Comments
 (0)