From 20e6f3ad5665f938a0a4b142b6edd7519e01c692 Mon Sep 17 00:00:00 2001 From: David Westgate Date: Tue, 2 Mar 2021 22:10:08 +0000 Subject: [PATCH] Update config.js --- server/config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 };