From 4367f68dcaf9170e8eea09d7f7e50f646c8e17ae 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(-) (limited to 'cds-ui/server') 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