Skip to content

Commit 97095bb

Browse files
committed
A
1 parent b5d9f72 commit 97095bb

File tree

9 files changed

+16
-13
lines changed

9 files changed

+16
-13
lines changed

.DS_Store

6 KB
Binary file not shown.

lib/.DS_Store

6 KB
Binary file not shown.
File renamed without changes.

service-worker.js

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
'use strict';
22

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

66
// list of files to cache
77
const FILES_TO_CACHE = [
8-
8+
99
'/lib/codeit.js',
1010
'/lib/prism.js',
11-
12-
'/lib/codeit-line-numbers.js',
13-
'/lib/codeit-match-braces.js',
14-
'/lib/codeit-inline-color.js',
15-
'/lib/codeit-autolinker.js',
11+
12+
'/lib/plugins/codeit-line-numbers.js',
13+
'/lib/plugins/codeit-match-braces.js',
14+
'/lib/plugins/codeit-inline-color.js',
15+
'/lib/plugins/codeit-autolinker.js',
1616

1717
'/full.html',
1818
'/full.css',
@@ -24,22 +24,25 @@ const FILES_TO_CACHE = [
2424
'/git/gitauth.js',
2525
'/codedrop.js',
2626
'/filebrowser.js',
27-
'/live-view.js',
2827
'/spotlightsearch.js',
2928
'/localstorage.js',
3029
'/bottomfloat.js',
3130

31+
'/live-view/live-view.js',
32+
3233
'/dark-theme.css',
3334

3435
'/fonts/fonts.css',
35-
36+
3637
'/fonts/Mono-Sans/MonoSans-Regular.woff2',
38+
'/fonts/Mono-Sans/MonoSans-Medium.woff2',
39+
'/fonts/Mono-Sans/MonoSans-Semibold.woff2',
3740
'/fonts/Mono-Sans/MonoSans-Bold.woff2',
38-
41+
3942
'/fonts/Inter/Inter.var.woff2',
40-
43+
4144
'https://plausible.io/js/plausible.js',
42-
45+
4346
'/icons/android-app-512.png',
4447
'/icons/iphone-app-180.png',
4548
'/icons/app-favicon.png',
@@ -48,7 +51,7 @@ const FILES_TO_CACHE = [
4851
];
4952

5053
self.addEventListener('install', (evt) => {
51-
54+
5255
// precache static resources
5356
evt.waitUntil(
5457
caches.open(CACHE_NAME).then((cache) => {

0 commit comments

Comments
 (0)