Skip to content

Instantly share code, notes, and snippets.

@ddialar
Last active August 7, 2017 18:17
Show Gist options
  • Save ddialar/4cbbdf6e131e7a3351010881d5849237 to your computer and use it in GitHub Desktop.
Save ddialar/4cbbdf6e131e7a3351010881d5849237 to your computer and use it in GitHub Desktop.
log4js - configuration index.js file content
import SERVER_ENV from './server.config';
var environment = process.env.NODE_ENV || 'development';
var serverConf = SERVER_ENV[environment];
export {
serverConf
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment