From 84d7a1520e6e60220beeb9a793e912e1eda5940c Mon Sep 17 00:00:00 2001 From: "rajesh.kumar" Date: Mon, 26 Jun 2023 05:49:44 +0000 Subject: support for configurable http/https for cds-ui server Issue-ID: CCSDK-3814 Change-ID: I73f97f986a817d423f93a8d922dcd9647b2606aa Signed-off-by: rajesh.kumar --- cds-ui/server/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit 1.2.3-korg