nexus site path corrected
[portal.git] / ecomp-portal-FE / server / config / environment / index.js
1 'use strict';
2
3 var path = require('path');
4
5 // All configurations will extend these options
6 // ============================================
7 var all = {
8   env: process.env.NODE_ENV,
9
10   // Root path of server
11   root: path.normalize(__dirname + '/../../..'),
12
13   // Server port
14   port: process.env.PORT || 9000,
15
16   // Server IP
17   ip: process.env.IP || '0.0.0.0',
18
19   //Base tag url
20   baseUrl: '/ecompportal'
21 };
22
23 // Export the config object based on the NODE_ENV
24 // ==============================================
25 module.exports = all;