Skip to content

Commit

Permalink
bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mistermatt1337 committed Apr 15, 2024
1 parent cad6605 commit c9dfa38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ <h1>Like what we're doing? </h1><p>Here are some ways you can show your apprecia
<script>
if ('serviceWorker' in navigator) {
window.addEventListener('load', function() {
navigator.serviceWorker.register('/sw.js', {scope: '/RSI-Waves2Epochs/'}).then(function(registration) {
navigator.serviceWorker.register('/RSI-Waves2Epochs/sw.js', {scope: '/RSI-Waves2Epochs/'}).then(function(registration) {
console.log('ServiceWorker registration successful with scope: ', registration.scope); // Successful registration
}, function(err) {
console.log('ServiceWorker registration failed: ', err); // Failed registration
Expand Down

0 comments on commit c9dfa38

Please sign in to comment.