From 46daa23ad7cba91afa4f6ad39f3950b9bca9f1ab Mon Sep 17 00:00:00 2001 From: bggRGjQaUbCoE Date: Wed, 9 Oct 2024 18:44:08 +0800 Subject: [PATCH] opt: pili scheme --- lib/utils/app_scheme.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {