Closed Horusiath closed 1 month ago
This PR adds minimal client version verification when establishing WS connection. It's configurable via APPFLOWY_WEBSOCKET_CLIENT_MIN_VERSION env var (defaults to 0.5.0).
APPFLOWY_WEBSOCKET_CLIENT_MIN_VERSION
0.5.0
Client version older than 0.5.0 is still using the other endpoint: https://github.com/AppFlowy-IO/AppFlowy-Cloud/blob/main/src/api/ws.rs#L40
This PR adds minimal client version verification when establishing WS connection. It's configurable via
APPFLOWY_WEBSOCKET_CLIENT_MIN_VERSION
env var (defaults to0.5.0
).