Skip to content

Commit

Permalink
Bump
Browse files Browse the repository at this point in the history
  • Loading branch information
csswizardry committed Sep 16, 2024
1 parent 54eee3a commit 266f685
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<script>
if ('serviceWorker' in navigator) {
window.addEventListener('load', function() {
navigator.serviceWorker.register('/sw.js').then(function(registration) {
navigator.serviceWorker.register('/sw.js?0151').then(function(registration) {
// Successfully registered the Service Worker
//console.log('Service Worker registration successful with scope: ', registration.scope);
}).catch(function(err) {
Expand Down
4 changes: 2 additions & 2 deletions sw.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var cacheName = 'csswizardry:0150';
var cacheName = 'csswizardry:0151';
var cacheFiles = [
'/',
'/about/',
Expand Down Expand Up @@ -63,7 +63,7 @@ self.addEventListener('fetch', function(event) {
// Empty out any caches that don’t match the ones listed.
self.addEventListener('activate', function(event) {

var cacheWhitelist = ['csswizardry:0150'];
var cacheWhitelist = ['csswizardry:0151'];

event.waitUntil(
caches.keys().then(function(cacheNames) {
Expand Down

0 comments on commit 266f685

Please sign in to comment.