mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-21 10:15:55 +02:00
Better configuration for WebSockets
This commit is contained in:
parent
2e18833014
commit
74bab3d6c5
2 changed files with 18 additions and 17 deletions
|
@ -225,13 +225,12 @@ function getDefaultConfig() {
|
|||
firstMenuNewUser : 'sshConnectedNewUser',
|
||||
},
|
||||
webSocket : {
|
||||
port : 8810,
|
||||
enabled : true, // :TODO: default to false
|
||||
},
|
||||
secureWebSocket : {
|
||||
port : 8811,
|
||||
port : 8810, // ws://
|
||||
enabled : false,
|
||||
}
|
||||
securePort : 8811, // wss:// - must provide certPem and keyPem
|
||||
certPem : paths.join(__dirname, './../misc/https_cert.pem'),
|
||||
keyPem : paths.join(__dirname, './../misc/https_cert_key.pem'),
|
||||
},
|
||||
},
|
||||
|
||||
contentServers : {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue