Skip to content

Commit

Permalink
Update sw.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ScadeBlock authored Oct 27, 2024
1 parent ff16364 commit 49b5643
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/sw.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
importScripts('https://storage.googleapis.com/workbox-cdn/releases/5.1.2/workbox-sw.js');
const filesToCache = [
{url: '/index.html', revision: '102724.3'},
{url: './index.html', revision: '102724.3'},
{url: 'https://cdn.jsdelivr.net/gh/ScadeBlock/DemonJS@main/docs/dist/bundle.min.js', revision: '102724.3'},
{url: 'https://cdn.jsdelivr.net/gh/ScadeBlock/DemonJS@main/docs/dist/source-map.js', revision: '102724.3'},
{url: '/dist/ic.png', revision: '102724.3'}
{url: './dist/ic.png', revision: '102724.3'}

];
workbox.precaching.precacheAndRoute(filesToCache);

0 comments on commit 49b5643

Please sign in to comment.