Skip to content

Commit

Permalink
fix service worker path in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-vsl committed Jul 28, 2024
1 parent c500584 commit e5d3ba7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/hello.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<title>SWTS "Hello, world!" example </title>

<script>
navigator.serviceWorker.register('/service-worker.js')
navigator.serviceWorker.register('./service-worker.js')
</script>

<script src='./hello.ts'></script>
Expand Down
2 changes: 1 addition & 1 deletion examples/modules.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<head>
<title>SWTS modules examples </title>
<script>
navigator.serviceWorker.register('/service-worker.js')
navigator.serviceWorker.register('./service-worker.js')
</script>
<script type='module'>
import {messages} from './a.ts'
Expand Down

0 comments on commit e5d3ba7

Please sign in to comment.