Skip to content

Commit

Permalink
trigger updates when service worker is activated
Browse files Browse the repository at this point in the history
  • Loading branch information
maxence-charriere committed Oct 7, 2024
1 parent 23262c7 commit 986b008
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 986b008

Please sign in to comment.