Skip to content

Instantly share code, notes, and snippets.

@logicalparadox
Created March 17, 2012 17:53
Show Gist options
  • Save logicalparadox/2063486 to your computer and use it in GitHub Desktop.
Save logicalparadox/2063486 to your computer and use it in GitHub Desktop.
Load env config
var env = process.env.NODE_ENV || 'development';
var config = {
development: {}
, test: {}
, staging: {}
, production: {}
};
module.exports = config[env];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment