[SignalingServer] Add the https port variable 15/265015/1
authorHunseop Jeong <hs85.jeong@samsung.com>
Thu, 7 Oct 2021 06:09:36 +0000 (15:09 +0900)
committerHunseop Jeong <hs85.jeong@samsung.com>
Thu, 7 Oct 2021 06:09:36 +0000 (15:09 +0900)
The httpsPort is required to search and run device.

Change-Id: I31db885b20a06ca394bf1eeb97b6314bb62c94b0
Signed-off-by: Hunseop Jeong <hs85.jeong@samsung.com>
device_home/signaling_server/gen/edge.js

index e70cb2dbd080f5f19f00476e66d13571756e6aff..8573ef27530b8ae072766a2a5f09ec42ee702163 100644 (file)
@@ -1,6 +1,7 @@
 const { getMyAddress } = require('./util');
 
 const TAG = 'edge.js';
+const httpsPort = process.env.PORT || process.env.HTTPS_PORT || 5443;
 
 class Edge {
   constructor(service, execType, packageName) {