From 3f46088e9ab2d5aa90070522b0c9cd40058c366c Mon Sep 17 00:00:00 2001 From: linus Date: Thu, 10 Sep 2026 11:54:47 +0200 Subject: [PATCH] chore(client): fill in Firebase web config (apiKey / appId) Only the VAPID key (Web Push certificate) is still REPLACE_ME; the push guard now keys off vapidKey so nothing prompts until it's set. Co-Authored-By: Claude Sonnet 5 --- client/app/web/firebase-messaging-sw.js | 5 ++--- client/app/web/index.html | 15 ++++++++------- 2 files changed, 10 insertions(+), 10 deletions(-) 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 @@ KC-App - +