stats and other tings

This commit is contained in:
ntr
2019-05-31 16:23:34 +10:00
parent d6a3ca2eb4
commit a074677ed6
4 changed files with 25 additions and 31 deletions
+9
View File
@@ -19,4 +19,13 @@
<body>
</body>
<script src="./index.js"></script>
<script>
// Check that service workers are registered
if ('serviceWorker' in navigator) {
// Use the window load event to keep the page load performant
window.addEventListener('load', () => {
navigator.serviceWorker.register('./service.worker.js');
});
}
</script>
</html>