diff --git a/server/config.js b/server/config.js index 90a102d..e6c2a56 100644 --- a/server/config.js +++ b/server/config.js @@ -53,8 +53,10 @@ const branches ={ } } } -//Set branch here +//default branch var config = branches.development; +if(process.argv[2] && process.argv[2] === 'prod') + config = branches.production module.exports = { config };