Skip to content

Commit

Permalink
Remove 404ing link
Browse files Browse the repository at this point in the history
  • Loading branch information
csswizardry committed Sep 20, 2024
1 parent fa6759e commit 717ee71
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion _includes/nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
<li class="site-nav__item has-sub-menu">
<a href=/services/ class="site-nav__link site-nav__services">Services</a>
<ul class="site-nav__sub-menu">
<li class=site-nav__item><a href=/masterclasses/ class="site-nav__sub-link site-nav__masterclasses">Masterclasses <sup style="text-transform: uppercase; font-size: 0.625rem; line-height: 1.2; color: #f43059;"><strong>New</strong></sup></a></li>
<li class=site-nav__item><a href=/sentinel/ class="site-nav__sub-link site-nav__sentinel">Sentinel</a></li>
<li class=site-nav__item><a href=/workshops/ class="site-nav__sub-link site-nav__workshops">Workshops and Training</a></li>
<li class=site-nav__item><a href=/consultancy/ class="site-nav__sub-link site-nav__consultancy">Consultancy</a></li>
Expand Down
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?0151').then(function(registration) {
navigator.serviceWorker.register('/sw.js?0152').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:0151';
var cacheName = 'csswizardry:0152';
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:0151'];
var cacheWhitelist = ['csswizardry:0152'];

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

0 comments on commit 717ee71

Please sign in to comment.