chore: set VAPID key for FCM
All checks were successful
Build frontend / build (push) Successful in 1m11s
All checks were successful
Build frontend / build (push) Successful in 1m11s
This commit is contained in:
@ -38,7 +38,7 @@ export async function requestNotificationPermission() {
|
||||
const registration = await navigator.serviceWorker.register("/firebase-messaging-sw.js");
|
||||
|
||||
const token = await getToken(messaging, {
|
||||
vapidKey: "BO0tGzMOqN3xQp8IG2wQEXwJKUJfx7T3eVvLq3HjC2Q", // TODO: Replace with your VAPID key from Firebase Console
|
||||
vapidKey: "BGZ4Fo8rRhoTdStLGlCySDZOnAX4ekCA0e3HDWXL5uEi2kOnXynYjbaDbY15002phUrFqxBpPPFHgfH2VhrmFDU",
|
||||
serviceWorkerRegistration: registration,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user