diff --git a/.env.template b/.env.template index d2eb768e..e89c32f2 100644 --- a/.env.template +++ b/.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 diff --git a/src/config.rs b/src/config.rs index fa53c55b..64d246c7 100644 --- a/src/config.rs +++ b/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