diff --git a/frontend/firebase/firebase.tsx b/frontend/firebase/firebase.tsx index 7d2e7ebbb..39c3eb86e 100644 --- a/frontend/firebase/firebase.tsx +++ b/frontend/firebase/firebase.tsx @@ -3,11 +3,11 @@ import { FirebaseApp, getApps, initializeApp } from "firebase/app"; import { getAnalytics } from "firebase/analytics"; import { FacebookAuthProvider, getAuth, GoogleAuthProvider, TwitterAuthProvider, signInWithPopup, signOut } from "firebase/auth"; import { addDoc, collection, doc, getDoc, getDocs, getFirestore, query, setDoc, where } from "firebase/firestore"; -import firebaseConfig from "../serviceAccount.json"; +// import firebaseConfig from "../serviceAccount.json"; // TODO: Add SDKs for Firebase products that you want to use // https://firebase.google.com/docs/web/setup#available-libraries - +const firebaseConfig = JSON.parse(process.env.NEXT_PUBLIC_SERVICE_ACCOUNT!); // Initialize Firebase const app = initializeApp(firebaseConfig);