Fixed firebase production issues. Mismatched vapid key + caching.
This commit is contained in:
@@ -3,15 +3,26 @@ importScripts(
|
||||
"https://www.gstatic.com/firebasejs/7.14.2/firebase-messaging.js"
|
||||
);
|
||||
|
||||
// firebase.initializeApp({
|
||||
// apiKey: "AIzaSyDSezy-jGJreo7ulgpLdlpOwAOrgcaEkhU",
|
||||
// authDomain: "imex-prod.firebaseapp.com",
|
||||
// databaseURL: "https://imex-prod.firebaseio.com",
|
||||
// projectId: "imex-prod",
|
||||
// storageBucket: "imex-prod.appspot.com",
|
||||
// messagingSenderId: "253497221485",
|
||||
// appId: "1:253497221485:web:3c81c483b94db84b227a64",
|
||||
// measurementId: "G-NTWBKG2L0M",
|
||||
// });
|
||||
|
||||
firebase.initializeApp({
|
||||
apiKey: "AIzaSyDV9MsSHZmpLtjoaTK_ObvjFaJ-nMSd2KA",
|
||||
authDomain: "bodyshop-dev-b1cb6.firebaseapp.com",
|
||||
databaseURL: "https://bodyshop-dev-b1cb6.firebaseio.com",
|
||||
projectId: "bodyshop-dev-b1cb6",
|
||||
storageBucket: "bodyshop-dev-b1cb6.appspot.com",
|
||||
messagingSenderId: "922785209028",
|
||||
appId: "1:922785209028:web:96e9df15401eee5d784791",
|
||||
measurementId: "G-2D5378VCHE",
|
||||
apiKey: "AIzaSyDPLT8GiDHDR1R4nI66Qi0BY1aYviDPioc",
|
||||
authDomain: "imex-dev.firebaseapp.com",
|
||||
databaseURL: "https://imex-dev.firebaseio.com",
|
||||
projectId: "imex-dev",
|
||||
storageBucket: "imex-dev.appspot.com",
|
||||
messagingSenderId: "759548147434",
|
||||
appId: "1:759548147434:web:e8239868a48ceb36700993",
|
||||
measurementId: "G-K5XRBVVB4S",
|
||||
});
|
||||
|
||||
const messaging = firebase.messaging();
|
||||
|
||||
Reference in New Issue
Block a user