Last active
September 19, 2018 15:28
-
-
Save AntonioErdeljac/ed5d1dacb90e516db68fb497228779f8 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
const domain = process.env.DOMAIN || 'localhost'; | |
const port = process.env.PORT || 5000; | |
const protocol = process.env.PROTOCOL || 'http://'; | |
module.exports.domain = domain; | |
module.exports.port = port; | |
module.exports.protocol = protocol; | |
module.exports.serverUrl = process.env.SERVER_URL || `${protocol}${domain}${port ? `:${port}` : ''}`; | |
module.exports.mongo = { | |
uri: 'mongodb://127.0.0.1:27017/HerokuDeployment', | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment