new: useCDN option

This commit is contained in:
lollipopkit
2024-03-08 01:52:02 -06:00
parent 7b74d83c23
commit b9aa4ba124
17 changed files with 84 additions and 28 deletions

View File

@@ -250,6 +250,11 @@ class SettingStore extends PersistentStore {
/// when building traffic view on server tab
late final ignoreLocalNet = property('ignoreLocalNetIface', true);
/// Use cdn
/// It's recommended to use cdn for non-China users
/// 0: unset, 1: use, 2: not use
late final useCdn = property('useCdn', 0);
// Never show these settings for users
//
// ------BEGIN------