Skip to content

Commit

Permalink
CW-firebase-messaging-for-web Fix service-worker naming
Browse files Browse the repository at this point in the history
  • Loading branch information
pvm-code committed Aug 16, 2024
1 parent a71b7ca commit 69c4a85
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const NotificationsHandler: FC = () => {
useEffect(() => {
if ("serviceWorker" in navigator) {
navigator.serviceWorker
.register("/firebase-messaging-sw-dev.js")
.register("/firebase-messaging-sw.js")
.then((registration) => {
setIsRegistered(true);
return registration;
Expand Down

0 comments on commit 69c4a85

Please sign in to comment.