Skip to content

Commit

Permalink
refactor: firebase.prod - rename to use
Browse files Browse the repository at this point in the history
  • Loading branch information
karlhadwen committed Aug 5, 2019
1 parent d3cc268 commit 2ce55a3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
Expand All @@ -10,6 +8,7 @@

# production
/build
/src/firebase.js

# misc
.DS_Store
Expand Down
14 changes: 14 additions & 0 deletions src/firebase.prod.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import firebase from 'firebase/app';
import 'firebase/firestore';

const firebaseConfig = firebase.initializeApp({
apiKey: '',
authDomain: '',
databaseURL: '',
projectId: '',
storageBucket: '',
messagingSenderId: '',
appId: '',
});

export { firebaseConfig as firebase };

0 comments on commit 2ce55a3

Please sign in to comment.