Files: 756ea9b64e891d165a78679421a9a401979fe59d / src / index.js
209 bytesRaw
1 | if ('serviceWorker' in navigator) { |
2 | navigator.serviceWorker.register('/service-worker.js').then(function(registration) { |
3 | console.log('ServiceWorker for offline registered!', registration.scope); |
4 | }); |
5 | } |
6 |
Built with git-ssb-web