Skip to content

Commit 5f40cd4

Browse files
committed
updated_env
1 parent a262a39 commit 5f40cd4

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

src/components/firebase.js

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,12 @@ import { getAuth, GoogleAuthProvider, GithubAuthProvider, signInWithPopup } from
55
import { getFirestore } from "firebase/firestore";
66

77
const firebaseConfig = {
8-
apiKey: "AIzaSyD1hSaR5PzPXYs90AhuFshIE85ZGBsWT3I",
9-
authDomain: "codelive-503da.firebaseapp.com",
10-
projectId: "codelive-503da",
11-
storageBucket: "codelive-503da.appspot.com",
12-
messagingSenderId: "52006541158",
13-
appId: "1:52006541158:web:5cdc1584e3bcd5d1c19aa7",
14-
measurementId: "G-HB4DLV7RBZ"
8+
apiKey: process.env.REACT_APP_FIREBASE_API_KEY,
9+
authDomain: process.env.REACT_APP_FIREBASE_AUTH_DOMAIN,
10+
projectId: process.env.REACT_APP_FIREBASE_PROJECT_ID,
11+
storageBucket: process.env.REACT_APP_FIREBASE_STORAGE_BUCKET,
12+
messagingSenderId: process.env.REACT_APP_FIREBASE_MESSAGING_SENDER_ID,
13+
appId: process.env.REACT_APP_FIREBASE_APP_ID
1514
};
1615

1716

0 commit comments

Comments
 (0)