Added sw.js to index.html

This commit is contained in:
Caleb Fultz 2024-08-20 23:59:34 -04:00
parent e3e2bcab76
commit 3143951e95

View File

@ -70,5 +70,10 @@
</footer> </footer>
<script type="module" src="app.js"></script> <script type="module" src="app.js"></script>
<script>
if (typeof navigator.serviceWorker !== 'undefined') {
navigator.serviceWorker.register('sw.js')
}
</script>
</body> </body>
</html> </html>