enable service worker

This commit is contained in:
Morgan McMillian 2018-10-29 17:21:22 -07:00
parent e3d62e27d3
commit a5064ee109

View file

@ -14,14 +14,13 @@
<!-- cordova.js required for cordova apps -->
<script src="cordova.js"></script>
<!-- un-comment this code to enable service worker
<script>
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('service-worker.js')
.then(() => console.log('service worker installed'))
.catch(err => console.error('Error', err));
}
</script>-->
</script>
<link href="build/main.css" rel="stylesheet">