diff --git a/lib/utils/app_scheme.dart b/lib/utils/app_scheme.dart index dad9b3f08..865dfcaa0 100644 --- a/lib/utils/app_scheme.dart +++ b/lib/utils/app_scheme.dart @@ -223,7 +223,7 @@ class PiliScheme { // }, // ); } - } else if (scheme == 'https') { + } else if (['http', 'https'].contains(scheme)) { fullPathPush(value); } else if (path.toLowerCase().startsWith('av')) { try {