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 e2def98 commit 8f1a974Copy full SHA for 8f1a974
src/main.ts
@@ -14,16 +14,3 @@ export default class App extends Application {
14
});
15
}
16
17
-
18
-if ('serviceWorker' in navigator) {
19
- window.addEventListener('load', function() {
20
- navigator.serviceWorker.register('/api/service.js')
21
- .then(registration => {
22
- // Registration was successful
23
- console.log('ServiceWorker registration successful with scope: ', registration.scope);
24
- }).catch(function(err) {
25
- // registration failed :(
26
- console.log('ServiceWorker registration failed: ', err);
27
- });
28
29
-}
0 commit comments