diff --git a/frontend/appflowy_flutter/lib/core/helpers/url_launcher.dart b/frontend/appflowy_flutter/lib/core/helpers/url_launcher.dart index 2b0bc7b345..f00f7ed85e 100644 --- a/frontend/appflowy_flutter/lib/core/helpers/url_launcher.dart +++ b/frontend/appflowy_flutter/lib/core/helpers/url_launcher.dart @@ -38,6 +38,11 @@ Future afLaunchUri( ); } + // on Linux, add http scheme to the url if it is not present + if (isURL(url, {'require_protocol': true})) { + uri = Uri.parse('https://$url'); + } + // try to launch the uri directly bool result; try {