Created
January 21, 2018 08:34
-
-
Save davidnguyen11/7a82f3eae08ad6263a44c9efdfd1f98e to your computer and use it in GitHub Desktop.
Revisions
-
davidnguyen11 created this gist
Jan 21, 2018 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ const env = process.env.ENV || 'development'; const configs = { development: { api: 'https://api.staging.com', }, staging: { api: 'https://api.staging.com', }, production: { api: 'https://api.production.com', }, }[env]; export default configs;