Code Review
/
ccsdk
/
cds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
47e1396
)
support for configurable http/https for cds-ui server
49/135149/2
author
rajesh.kumar
<rk00747546@techmahindra.com>
Mon, 26 Jun 2023 05:49:44 +0000
(
05:49
+0000)
committer
Andreas Geissler
<andreas-geissler@telekom.de>
Mon, 26 Jun 2023 11:05:13 +0000
(11:05 +0000)
Issue-ID: CCSDK-3814
Change-ID: I73f97f986a817d423f93a8d922dcd9647b2606aa
Signed-off-by: rajesh.kumar <rk00747546@techmahindra.com>
cds-ui/server/index.js
patch
|
blob
|
history
diff --git
a/cds-ui/server/index.js
b/cds-ui/server/index.js
index
be6a3b7
..
084daa0
100644
(file)
--- 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,