|
|
@ -66,6 +66,7 @@
|
|
|
|
<script src="assets/js/main.js"></script>
|
|
|
|
<script src="assets/js/main.js"></script>
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
|
|
|
|
if (platform_type != "cordova" && platform_type != "nw") {
|
|
|
|
if ('serviceWorker' in navigator) {
|
|
|
|
if ('serviceWorker' in navigator) {
|
|
|
|
// Register a service worker hosted at the root of the
|
|
|
|
// Register a service worker hosted at the root of the
|
|
|
|
// site using the default scope.
|
|
|
|
// site using the default scope.
|
|
|
@ -77,4 +78,5 @@
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
console.log('Service workers are not supported.');
|
|
|
|
console.log('Service workers are not supported.');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</script>
|