Skip to content

Commit

Permalink
Bump
Browse files Browse the repository at this point in the history
  • Loading branch information
csswizardry committed Jan 28, 2025
1 parent c4fa7f7 commit 4ce89bb
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 @@ -76,7 +76,7 @@
<script>
if ('serviceWorker' in navigator) {
window.addEventListener('load', function() {
navigator.serviceWorker.register('/sw.js?0162').then(function(registration) {
navigator.serviceWorker.register('/sw.js?0163').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:0162';
var cacheName = 'csswizardry:0163';
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:0162'];
var cacheWhitelist = ['csswizardry:0163'];

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

0 comments on commit 4ce89bb

Please sign in to comment.