1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 10:49:28 +02:00

Server: handle tls websockets

This commit is contained in:
Chocobozzz 2016-10-17 21:10:29 +02:00
parent 7a2c9a8e55
commit 25cad91992
2 changed files with 11 additions and 7 deletions

View file

@ -44,6 +44,7 @@ const CONFIG = {
},
WEBSERVER: {
SCHEME: config.get('webserver.https') === true ? 'https' : 'http',
WS: config.get('webserver.https') === true ? 'wss' : 'ws',
HOST: config.get('webserver.host'),
PORT: config.get('webserver.port')
}