Browse Source

changed WEBSOCKET_ENABLED default value to true

pull/3267/head
JohnnyRacket 2 years ago
committed by GitHub
parent
commit
1ebed7d24b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .env.template
  2. 2
      src/config.rs

2
.env.template

@ -66,7 +66,7 @@
# WEB_VAULT_ENABLED=true
## Enables websocket notifications
# WEBSOCKET_ENABLED=false
# WEBSOCKET_ENABLED=true
## Controls the WebSocket server address and port
# WEBSOCKET_ADDRESS=0.0.0.0

2
src/config.rs

@ -371,7 +371,7 @@ make_config! {
},
ws {
/// Enable websocket notifications
websocket_enabled: bool, false, def, false;
websocket_enabled: bool, false, def, true;
/// Websocket address
websocket_address: String, false, def, "0.0.0.0".to_string();
/// Websocket port

Loading…
Cancel
Save