Skip to content

Commit

Permalink
Config to prod RM app with whitelisted domains
Browse files Browse the repository at this point in the history
  • Loading branch information
anastr0 committed Jan 25, 2021
1 parent 2011036 commit 413114d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/components/Firebase.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
import firebase from "firebase/app";
import "firebase/auth";

// Production - RocketMeet
const config = {
apiKey: "AIzaSyD5KqdURtfBQRrKdtUziFJZVRbeBKLqBCw",
authDomain: "rocketmeet-15a48.firebaseapp.com",
apiKey: "AIzaSyCmjdHH4Q3B6j1xzKuD5jPdIC2TyMOUln8",
authDomain: "rocket-meet.firebaseapp.com",
};

if (!firebase.apps.length) {
firebase.initializeApp(config);
} else {
firebase.app(); // if already initialized, use that one
}
const auth = firebase.auth();

export { auth, firebase };
export { auth, firebase };

0 comments on commit 413114d

Please sign in to comment.