diff --git a/client/app/web/firebase-messaging-sw.js b/client/app/web/firebase-messaging-sw.js index 97a9097..b3dbf5d 100644 --- a/client/app/web/firebase-messaging-sw.js +++ b/client/app/web/firebase-messaging-sw.js @@ -1,14 +1,13 @@ // Background handler for FCM web push. Keep the config in sync with // window.KC_FIREBASE in index.html (a service worker can't read window). -// Fill in apiKey / appId from the Firebase console before enabling push. importScripts('https://www.gstatic.com/firebasejs/10.13.2/firebase-app-compat.js'); importScripts('https://www.gstatic.com/firebasejs/10.13.2/firebase-messaging-compat.js'); firebase.initializeApp({ - apiKey: 'REPLACE_ME', + apiKey: 'AIzaSyDxBpdmW8lUHSuix--3AsWJScGQy9o3G_M', projectId: 'konfi-castle-app', messagingSenderId: '307226979593', - appId: 'REPLACE_ME', + appId: '1:307226979593:web:66898b2c78b2d110ef77d8', }); firebase.messaging().onBackgroundMessage(function (payload) { diff --git a/client/app/web/index.html b/client/app/web/index.html index 320c4af..a49b314 100644 --- a/client/app/web/index.html +++ b/client/app/web/index.html @@ -32,26 +32,27 @@