From e600af37481303b193c30fa6dbd89f394d03345b Mon Sep 17 00:00:00 2001 From: fan9704 Date: Thu, 20 Jul 2023 03:12:56 +0800 Subject: [PATCH] Update SW --- dist_netlify/firebase-messaging-sw.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/dist_netlify/firebase-messaging-sw.js b/dist_netlify/firebase-messaging-sw.js index e69de29..3ef7cf6 100644 --- a/dist_netlify/firebase-messaging-sw.js +++ b/dist_netlify/firebase-messaging-sw.js @@ -0,0 +1,13 @@ +importScripts('https://www.gstatic.com/firebasejs/8.2.7/firebase-app.js') +importScripts('https://www.gstatic.com/firebasejs/8.2.7/firebase-messaging.js') + +var firebaseConfig = { + apiKey: "AIzaSyA1FevAEUfg7u_tmhjPKGLJfVFBiQaghCY", + authDomain: "petmonitoringsystem-729da.firebaseapp.com", + projectId: "petmonitoringsystem-729da", + storageBucket: "petmonitoringsystem-729da.appspot.com", + messagingSenderId: "218937674834", + appId: "1:218937674834:web:2961695e7663494adb638b", + measurementId: "G-D4TRM99C0G" +} +const app = firebase.initializeApp(firebaseConfig); \ No newline at end of file