Change config from json to yaml
- Added possibility to override config with env vars - Reorganized config structures
This commit is contained in:
@@ -152,7 +152,7 @@ func onOpen(conn *websocket.Conn, r *http.Request, sessionID string, app *app.Ap
|
||||
return noProtocolVersionSupplied
|
||||
case protocol != supportedProtocolVersion:
|
||||
return unsupportedProtocolVersion
|
||||
case app.ApplicationDisabled:
|
||||
case !app.Enabled:
|
||||
return applicationDisabled
|
||||
case app.OnlySSL:
|
||||
if r.TLS == nil {
|
||||
|
||||
Reference in New Issue
Block a user