Einav Weiss Keidar | f2c4723 | 2018-05-30 18:12:02 +0300 | [diff] [blame] | 1 | module.exports = function () { |
2 | let localDevConfig = {}; | ||||
3 | try { | ||||
4 | localDevConfig = require('../devConfig'); | ||||
5 | } catch (e) {} | ||||
6 | const devConfig = Object.assign({}, require('../devConfig.defaults'), localDevConfig); | ||||
7 | let devPort = process.env.PORT || devConfig.port; | ||||
8 | devConfig.port = devPort; | ||||
9 | return devConfig; | ||||
10 | }(); |