Explorar el Código

firebase key pair

master
Siti Rahayu hace 5 años
padre
commit
02ae82396a

+ 1
- 1
resources/views/layout/master.blade.php Ver fichero

@@ -74,7 +74,7 @@

// Retrieve Firebase Messaging object.
const messaging = firebase.messaging();
messaging.usePublicVapidKey("BNi8dCDetrOMaBt9JH6_enkuzNMc8TdDdQKoyeVaaAisyrP2yX3RDALlThKNcIzqVF51JLIXWWZSx14mWTkoy68");
messaging.usePublicVapidKey("BKTcW6ZaTpbLNcP13Tzp0309y2J996jXU_FxBUeVLrwMN6W2tSJpyt6W5hsUtG12tSEeNCKaZL1oxNXkyxBhaKc");

messaging.requestPermission().then(function() {
console.log("Notification permission granted.");

+ 1
- 1
resources/views/layout/officer.blade.php Ver fichero

@@ -74,7 +74,7 @@

// Retrieve Firebase Messaging object.
const messaging = firebase.messaging();
messaging.usePublicVapidKey("BNi8dCDetrOMaBt9JH6_enkuzNMc8TdDdQKoyeVaaAisyrP2yX3RDALlThKNcIzqVF51JLIXWWZSx14mWTkoy68");
messaging.usePublicVapidKey("BKTcW6ZaTpbLNcP13Tzp0309y2J996jXU_FxBUeVLrwMN6W2tSJpyt6W5hsUtG12tSEeNCKaZL1oxNXkyxBhaKc");

messaging.requestPermission().then(function() {
console.log("Notification permission granted.");

Cargando…
Cancelar
Guardar