sw
Action: file_editor create /app/vercel-deploy/firebase-messaging-sw.js --file-text "/* BaithKee News - Firebase Cloud Messaging Service Worker * यह फाइल Vercel root पर \"firebase-messaging-sw.js\" नाम से ही होनी चाहिए। * जब browser बंद हो या tab background में हो तब notifications यही file दिखाती है। */ importScripts(\"https://www.gstatic.com/firebasejs/10.8.1/firebase-app-compat.js\"); importScripts(\"https://www.gstatic.com/firebasejs/10.8.1/firebase-messaging-compat.js\"); firebase.initializeApp({ apiKey: \"AIzaSyAwpf0IEd0wl6mvJ6EV5XB3XQYoLwmWXZQ\", authDomain: \"baithkee-news.firebaseapp.com\", projectId: \"baithkee-news\", storageBucket: \"baithkee-news.firebasestorage.app\", messagingSenderId: \"1051043299858\", appId: \"1:1051043299858:web:1b2c6b4aac4aaca4254ecb\" }); const messaging = firebase.messaging(); // Background message handler messaging.onBackgroundM...