summaryrefslogtreecommitdiffstats
path: root/cds-ui/server
diff options
context:
space:
mode:
Diffstat (limited to 'cds-ui/server')
-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,