Skip to content
This repository has been archived by the owner on Jun 10, 2022. It is now read-only.

Commit

Permalink
Merge pull request #239 from alexgibson/fix-404-service-worker
Browse files Browse the repository at this point in the history
Remove registration code for 404 service worker (Fixes #237)
  • Loading branch information
stephaniehobson committed Apr 12, 2018
2 parents 0a0ac7b + c401ff7 commit 6b6188b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "2016.0.1",
"scripts": {
"build": "node build",
"build_dev": "node build dev",
"build_dev": "node build dev"
},
"devDependencies": {
"broken-link-checker": "^0.7.0",
Expand Down
6 changes: 0 additions & 6 deletions source/js/00_global.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,4 @@
var html = document.documentElement;
html.classList.add('js-site');

if (navigator.serviceWorker) {
navigator.serviceWorker.register('/worker.js', {
scope: '/'
});
}

})();

0 comments on commit 6b6188b

Please sign in to comment.