Skip to content

Commit eb341ef

Browse files
committed
Remove SW query string
1 parent 2c5f951 commit eb341ef

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

_config.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ description: "Write an awesome description for your new site here. You can edit
55
baseurl: ""
66
url: "https://csswizardry.com"
77
future: true
8-
sw: "0021"
98

109
# Build settings
1110
markdown: kramdown

_layouts/default.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<script>
1111
if ('serviceWorker' in navigator) {
1212
window.addEventListener('load', function() {
13-
navigator.serviceWorker.register('/sw.js?{{ site.sw }}').then(function(registration) {
13+
navigator.serviceWorker.register('/sw.js').then(function(registration) {
1414
// Successfully registered the Service Worker
1515
//console.log('Service Worker registration successful with scope: ', registration.scope);
1616
}).catch(function(err) {

0 commit comments

Comments
 (0)