From 25cad919924faebda48f8741d3e6e0c3e23c6182 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 17 Oct 2016 21:10:29 +0200 Subject: Server: handle tls websockets --- server/initializers/constants.js | 1 + 1 file changed, 1 insertion(+) (limited to 'server/initializers/constants.js') diff --git a/server/initializers/constants.js b/server/initializers/constants.js index 09c4f755e..fb1cbc5f3 100644 --- a/server/initializers/constants.js +++ b/server/initializers/constants.js @@ -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') } -- cgit v1.2.3