Skip to content

Commit

Permalink
trigger updates when service worker is activated (#996)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxence-charriere authored Oct 10, 2024
1 parent 23262c7 commit dd6599e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/app/gen/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function goappSetupNotifyUpdate(registration) {
}

switch (newSW.state) {
case "installed":
case "activated":
goappOnUpdate();
}
});
Expand Down
Loading

0 comments on commit dd6599e

Please sign in to comment.