Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
fix: websocket support custom port (#5123)
Korov1ad351195da1
diff --git a/frontend/appflowy_flutter/lib/env/cloud_env.dart b/frontend/appflowy_flutter/lib/env/cloud_env.dartindex 27c4469f45..9e8ea0d4f9 100644--- a/frontend/appflowy_flutter/lib/env/cloud_env.dart+++ b/frontend/appflowy_flutter/lib/env/cloud_env.dart@@ -319,7 +319,8 @@ Future<String> _getAppFlowyCloudWSUrl(String baseURL) async {// Construct the WebSocket URL directly from the parsed URI.final wsScheme = uri.isScheme('HTTPS') ? 'wss' : 'ws';- final wsUrl = Uri(scheme: wsScheme, host: uri.host, path: '/ws/v1');+ final wsUrl =+ Uri(scheme: wsScheme, host: uri.host, port: uri.port, path: '/ws/v1');return wsUrl.toString();} catch (e) {