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:
parent
7a2c9a8e55
commit
25cad91992
2 changed files with 11 additions and 7 deletions
|
@ -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')
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue