Skip to content

Commit

Permalink
Update service worker
Browse files Browse the repository at this point in the history
  • Loading branch information
ducquando committed Mar 28, 2024
1 parent 600f550 commit 31dcfac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/registerServiceWorker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export function registerServiceWorker(store: Store) {

if ('serviceWorker' in navigator) {
window.addEventListener('load', () => {
const url = '/service-worker2.js';
const url = '/sw.js';

navigator.serviceWorker.register(url)
.then(registration => {
Expand Down

0 comments on commit 31dcfac

Please sign in to comment.