diff options
author | rajesh.kumar <rk00747546@techmahindra.com> | 2023-06-26 05:49:44 +0000 |
---|---|---|
committer | Andreas Geissler <andreas-geissler@telekom.de> | 2023-06-26 11:05:13 +0000 |
commit | 4367f68dcaf9170e8eea09d7f7e50f646c8e17ae (patch) | |
tree | a67aac81d46149ddbd92b388b5406c2edb4249c9 /cds-ui/server | |
parent | 47e13962ee639608171785cfd32f20037ca63810 (diff) |
support for configurable http/https for cds-ui server
Issue-ID: CCSDK-3814
Change-ID: I73f97f986a817d423f93a8d922dcd9647b2606aa
Signed-off-by: rajesh.kumar <rk00747546@techmahindra.com>
Diffstat (limited to 'cds-ui/server')
-rw-r--r-- | cds-ui/server/index.js | 2 |
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, |