Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add firebase configs again
Browse files Browse the repository at this point in the history
Andrew.Foo committed Jun 16, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 0cbf946 commit c9cd3ab
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/firebase/firebase.ts
Original file line number Diff line number Diff line change
@@ -3,12 +3,13 @@ import { getAuth } from "firebase/auth";
import { getFirestore } from "firebase/firestore";

const firebaseConfig = {
apiKey: process.env.NEXT_PUBLIC_FIREBASE_API_KEY,
authDomain: process.env.NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN,
projectId: process.env.NEXT_PUBLIC_FIREBASE_PROJECT_ID,
storageBucket: process.env.NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET,
messagingSenderId: process.env.NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID,
appId: process.env.NEXT_PUBLIC_FIREBASE_APP_ID
apiKey: "AIzaSyClrqrLZ1RmMcztKyCey44ocadTe0XHRpc",
authDomain: "zoom-optical.firebaseapp.com",
projectId: "zoom-optical",
storageBucket: "zoom-optical.appspot.com",
messagingSenderId: "679452656591",
appId: "1:679452656591:web:e133ab899488a9b2b008ba",
measurementId: "G-J8T5ZR0215"
};

const app = !getApps.length ? initializeApp(firebaseConfig,'zoom') : getApp();

0 comments on commit c9cd3ab

Please sign in to comment.