Merge pull request #993 from fodhelper/fix-urltest-fails

Fix URLTest Fails
This commit is contained in:
Hiddify 2024-07-03 18:06:41 +02:00 committed by GitHub
commit 08991ca4e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -102,7 +102,7 @@ abstract class ConfigOptions {
static final connectionTestUrl = PreferencesNotifier.create<String, String>(
"connection-test-url",
"http://cp.cloudflare.com/",
"https://www.gstatic.com/generate_204",
validator: (value) => value.isNotBlank && isUrl(value),
);