Last active
August 11, 2016 15:31
-
-
Save auser/82c9c09e3cd2e40e89f4163b46afdaab to your computer and use it in GitHub Desktop.
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
// config/development.js | |
module.exports = { | |
NAME: 'FirestackDemo.dev', | |
firestack: { | |
apiKey: "XXXXXXXX", | |
authDomain: "your-auth-domain.firebaseapp.com", | |
databaseURL: "https://your-database-url.firebaseio.com", | |
storageBucket: "your-storage-bucket.appspot.com", | |
} | |
} |
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
// In config/environment.js | |
let defaultEnv = { | |
NAME: 'FirestackDemo' | |
} | |
let env = {} | |
if (process.env.NODE_ENV === 'development') { | |
env = require('./development') | |
} | |
module.exports = Object.assign({}, defaultEnv, env); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment