mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
28 lines
1.2 KiB
JavaScript
28 lines
1.2 KiB
JavaScript
|
|
// Import the functions you need from the SDKs you need
|
|
import { initializeApp } from "https://www.gstatic.com/firebasejs/9.2.0/firebase-app.js";;
|
|
import { getAnalytics } from "https://www.gstatic.com/firebasejs/9.2.0/firebase-analytics.js";
|
|
import { getMessaging, getToken } from "https://www.gstatic.com/firebasejs/9.2.0/firebase-messaging.js";
|
|
|
|
// TODO: Add SDKs for Firebase products that you want to use
|
|
// https://firebase.google.com/docs/web/setup#available-libraries
|
|
|
|
// Your web app's Firebase configuration
|
|
// For Firebase JS SDK v7.20.0 and later, measurementId is optional
|
|
const firebaseConfig = {
|
|
apiKey: "AIzaSyAAdHmTFznCMerdT99nrewJgISRvtxPqoY",
|
|
authDomain: "gabinete-digital-2020.firebaseapp.com",
|
|
databaseURL: "https://gabinete-digital-2020.firebaseio.com",
|
|
projectId: "gabinete-digital-2020",
|
|
storageBucket: "gabinete-digital-2020.appspot.com",
|
|
messagingSenderId: "800733765231",
|
|
appId: "1:800733765231:web:28e7792ab150006513779a",
|
|
measurementId: "G-8QN4BLZ8XK"
|
|
};
|
|
|
|
// Initialize Firebase
|
|
const app = initializeApp(firebaseConfig);
|
|
const analytics = getAnalytics(app);
|
|
const messaging = getMessaging(app);
|
|
|
|
getToken({vapidKey: "BEuyzkUKcx4FSs-6GaIz_si2oV5Ut7e5ZEtcrVvr5L_tMVWZtS1NTqdtQkih5QCt2FZKuRUxZIaLm5GaxI6nJEw"}); |