From 8425a96ac97d79f443d4af3c1056fa200f6c24be Mon Sep 17 00:00:00 2001 From: Levi Date: Wed, 17 Jan 2024 22:09:37 +0800 Subject: [PATCH] feat: add mirror.ghproxy.com trackers subscribe cdn (#330) --- .../lib/app/modules/app/controllers/app_controller.dart | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ui/flutter/lib/app/modules/app/controllers/app_controller.dart b/ui/flutter/lib/app/modules/app/controllers/app_controller.dart index 71539cad..773c430d 100644 --- a/ui/flutter/lib/app/modules/app/controllers/app_controller.dart +++ b/ui/flutter/lib/app/modules/app/controllers/app_controller.dart @@ -49,7 +49,12 @@ const allTrackerCdns = [ [ "https://ghproxy.com/https://raw.githubusercontent.com", r".*github.com(/.*)/raw(/.*)" - ] + ], + // mirror.ghproxy.com: https://mirror.ghproxy.com/https://raw.githubusercontent.com/ngosang/trackerslist/master/trackers_all.txt + [ + "https://mirror.ghproxy.com/https://raw.githubusercontent.com", + r".*github.com(/.*)/raw(/.*)" + ], ]; final allTrackerSubscribeUrlCdns = Map.fromIterable(allTrackerSubscribeUrls, key: (v) => v as String,