Skip to content

Commit

Permalink
Add missing bold Oxygen to cache and bump Service Worker version
Browse files Browse the repository at this point in the history
  • Loading branch information
meduzen authored Mar 29, 2024
1 parent 58ce9a5 commit 65b66ca
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/js/service-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Service worker strategy: network first, fallback on cache.
*/

const SW_VERSION = '2.15'
const SW_VERSION = '2.16'
const NETWORK_TIMEOUT = 700

const resourcesCacheKey = `cache-v${SW_VERSION}`
Expand All @@ -24,8 +24,11 @@ const resourcesToCache = [

// Fonts
'fonts/oxygen-regular.woff2',
'fonts/oxygen-bold.woff2',
'fonts/oxygen-mono-ciphers-and-multiply-sign.woff2',

/* @todo: consider a better way to handle icon caching, if ever needed */

// Standard icons
'favicon.svg',
'favicon-original.svg',
Expand Down

0 comments on commit 65b66ca

Please sign in to comment.