-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from anaswaratrajan/auth-domain-fix
Config to prod RM app with whitelisted domains
- Loading branch information
Showing
2 changed files
with
8 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
b506d8c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: