Skip to content

Commit

Permalink
Fixed a caching bug
Browse files Browse the repository at this point in the history
  • Loading branch information
cuboooooo authored Jul 25, 2024
1 parent 8887656 commit d26d959
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions service-worker.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
const CACHE_NAME = 'app-cache-v1';
const FILES_TO_CACHE = [
'/',
'/index.html',
'/style.css',
'/main.js',
'/sketch.js',
'/lb.js',
// i was caching things, but that meant that when I updated the app (frequently) those updates wouldnt send...
'/img/android-chrome-192x192.png',
'/img/android-chrome-512x512.png',
'/img/apple-touch-icon.png'
Expand Down

0 comments on commit d26d959

Please sign in to comment.