We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c5f951 commit eb341efCopy full SHA for eb341ef
_config.yml
@@ -5,7 +5,6 @@ description: "Write an awesome description for your new site here. You can edit
5
baseurl: ""
6
url: "https://csswizardry.com"
7
future: true
8
-sw: "0021"
9
10
# Build settings
11
markdown: kramdown
_layouts/default.html
@@ -10,7 +10,7 @@
<script>
if ('serviceWorker' in navigator) {
12
window.addEventListener('load', function() {
13
- navigator.serviceWorker.register('/sw.js?{{ site.sw }}').then(function(registration) {
+ navigator.serviceWorker.register('/sw.js').then(function(registration) {
14
// Successfully registered the Service Worker
15
//console.log('Service Worker registration successful with scope: ', registration.scope);
16
}).catch(function(err) {
0 commit comments