aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/constants.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r--server/initializers/constants.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index 3781f9508..fb6bc9a66 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -52,7 +52,8 @@ const WEBSERVER = {
52 WS: '', 52 WS: '',
53 HOSTNAME: '', 53 HOSTNAME: '',
54 PORT: 0, 54 PORT: 0,
55 RTMP_URL: '' 55 RTMP_URL: '',
56 RTMPS_URL: ''
56} 57}
57 58
58// Sortable columns per schema 59// Sortable columns per schema
@@ -998,6 +999,7 @@ function updateWebserverUrls () {
998 WEBSERVER.PORT = CONFIG.WEBSERVER.PORT 999 WEBSERVER.PORT = CONFIG.WEBSERVER.PORT
999 1000
1000 WEBSERVER.RTMP_URL = 'rtmp://' + CONFIG.WEBSERVER.HOSTNAME + ':' + CONFIG.LIVE.RTMP.PORT + '/' + VIDEO_LIVE.RTMP.BASE_PATH 1001 WEBSERVER.RTMP_URL = 'rtmp://' + CONFIG.WEBSERVER.HOSTNAME + ':' + CONFIG.LIVE.RTMP.PORT + '/' + VIDEO_LIVE.RTMP.BASE_PATH
1002 WEBSERVER.RTMPS_URL = 'rtmps://' + CONFIG.WEBSERVER.HOSTNAME + ':' + CONFIG.LIVE.RTMPS.PORT + '/' + VIDEO_LIVE.RTMP.BASE_PATH
1001} 1003}
1002 1004
1003function updateWebserverConfig () { 1005function updateWebserverConfig () {