diff --git a/web/index.html b/web/index.html index 7e0c91368..2d25b2f1a 100644 --- a/web/index.html +++ b/web/index.html @@ -60,6 +60,8 @@ if ('serviceWorker' in navigator) { // Service workers are supported. Use them. window.addEventListener('load', function () { + navigator.serviceWorker.register('/firebase-messaging-sw.js'); + // Wait for registration to finish before dropping the