diff options
author | Mathijs van Veluw <[email protected]> | 2024-03-17 19:52:55 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2024-03-17 19:52:55 +0100 |
commit | 34272176867af1d566bd3bc561486a4e7a492ea9 (patch) | |
tree | 28b5ef4a0c157eae979d047564e60e9cddd6460f /.env.template | |
parent | a1fbd6d72917c0435da28b7f21c2f23aecc008b5 (diff) | |
download | vaultwarden-34272176867af1d566bd3bc561486a4e7a492ea9.tar.gz vaultwarden-34272176867af1d566bd3bc561486a4e7a492ea9.zip |
Remove custom WebSocket code (#4001)
* Remove custom WebSocket code
Remove our custom WebSocket code and only use the Rocket code.
Removed all options in regards to WebSockets
Added a new option `WEBSOCKET_DISABLED` which defaults too `false`.
This can be used to disable WebSockets if you really do not want to use it.
* Addressed remarks given and some updates
- Addressed comments given during review
- Updated crates, including Rocket to the latest merged v0.5 changes
- Removed an extra header which should not be sent for websocket connections
* Updated suggestions and crates
- Addressed the suggestions
- Updated Rocket to latest rc4
Also made the needed code changes
- Updated all other crates
Pinned `openssl` and `openssl-sys`
---------
Co-authored-by: Daniel GarcĂa <[email protected]>
Diffstat (limited to '.env.template')
-rw-r--r-- | .env.template | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/.env.template b/.env.template index 46aa6271..61cd046b 100644 --- a/.env.template +++ b/.env.template @@ -84,12 +84,8 @@ ### WebSocket ### ################# -## Enables websocket notifications -# WEBSOCKET_ENABLED=false - -## Controls the WebSocket server address and port -# WEBSOCKET_ADDRESS=0.0.0.0 -# WEBSOCKET_PORT=3012 +## Enable websocket notifications +# ENABLE_WEBSOCKET=true ########################## ### Push notifications ### |