Skip to content

Commit

Permalink
Add service worker
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkiro authored Nov 8, 2024
1 parent 5aab52d commit 7c4f5bb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@
<meta property="og:article:author" content="alexkiro" />
</head>
<body>
<script>
if (typeof navigator.serviceWorker !== 'undefined') {
navigator.serviceWorker.register('sw.js')
}
</script>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
Expand Down

0 comments on commit 7c4f5bb

Please sign in to comment.