Skip to content

Commit 0990773

Browse files
committed
service worker address fixed
1 parent 98e4a60 commit 0990773

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

HTML/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1184,7 +1184,7 @@
11841184
if ('serviceWorker' in navigator) {
11851185
// Use the window load event to keep the page load performant
11861186
window.addEventListener('load', () => {
1187-
navigator.serviceWorker.register('/service-worker.js');
1187+
navigator.serviceWorker.register('service-worker.js');
11881188
});
11891189
}
11901190
</script>

0 commit comments

Comments
 (0)