aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrajesh.kumar <rk00747546@techmahindra.com>2023-06-26 05:49:44 +0000
committerDan Timoney <dtimoney@att.com>2023-07-21 15:39:36 -0400
commit84d7a1520e6e60220beeb9a793e912e1eda5940c (patch)
treeb566815d251fc815658954fafd18a528efa79499
parent25cfad31df93dfd5bbcb98834db6d07d1e9d1259 (diff)
support for configurable http/https for cds-ui server1.5.2
Issue-ID: CCSDK-3814 Change-ID: I73f97f986a817d423f93a8d922dcd9647b2606aa Signed-off-by: rajesh.kumar <rk00747546@techmahindra.com>
-rw-r--r--cds-ui/server/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/cds-ui/server/index.js b/cds-ui/server/index.js
index be6a3b77f..084daa004 100644
--- a/cds-ui/server/index.js
+++ b/cds-ui/server/index.js
@@ -42,7 +42,7 @@ if (require.main === module) {
// Run the application
const config = {
rest: {
- protocol: 'https',
+ protocol: process.env.PROTOCOL || 'https',
pfx: p12,
passphrase: passphrase,
port: +process.env.PORT || 3000,