3 var path = require('path');
5 // All configurations will extend these options
6 // ============================================
8 env: process.env.NODE_ENV,
10 // Root path of server
11 root: path.normalize(__dirname + '/../../..'),
14 port: process.env.PORT || 9000,
17 ip: process.env.IP || '0.0.0.0',
20 baseUrl: '/ecompportal'
23 // Export the config object based on the NODE_ENV
24 // ==============================================