uawdijnntqw1x1x1
IP : 216.73.216.93
Hostname : panel.codeskitter.com
Kernel : Linux panel.codeskitter.com 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64
Disable Function : apache_child_terminate, apache_note, apache_setenv, define_syslog_variables, dl, link, opcache_get_status, openlog, pcntl_exec, pcntl_fork, pcntl_setpriority, popen, posix_getpwuid, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid
OS : Linux
PATH:
/
home
/
users
/
unlimited
/
www
/
ondemand.codeskitter.site
/
build
/
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" ); // Initialize the Firebase app in the service worker by passing in // your app's Firebase config object. // https://firebase.google.com/docs/web/setup#config-object firebase.initializeApp({ apiKey: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", authDomain: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", projectId: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", storageBucket: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", messagingSenderId: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", appId: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", measurementId: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", }); // Retrieve an instance of Firebase Messaging so that it can handle background // messages. const messaging = firebase.messaging(); const channel = new BroadcastChannel('firebase-messaging-channel'); messaging.onBackgroundMessage((payload) => { console.log( "[firebase-messaging-sw.js] Received background message ", payload ); // Send the payload to the React app channel.postMessage(payload); let notificationTitle, notificationOptions; if (payload.notification) { // Handle the second type of response (with notification object) notificationTitle = payload.notification.title; notificationOptions = { body: payload.notification.body, icon: payload.notification.image || "/default-icon.png", // Provide a default icon if not present }; } else if (payload.data) { // Handle the first type of response (with data object) notificationTitle = payload.data.title; notificationOptions = { body: payload.data.body, icon: payload.data.image || "/default-icon.png", // Provide a default icon if not present data: { click_action: payload.data.click_action, type: payload.data.type, type_id: payload.data.type_id, }, }; } // Customize notification here // const notificationTitle = "Background Message Title"; // const notificationOptions = { // body: "Background Message body.", // icon: "/firebase-logo.png", // }; self.registration.showNotification(notificationTitle, notificationOptions); });
/home/users/unlimited/www/ondemand.codeskitter.site/build/firebase-messaging-sw.js