修正模拟器可能存在无法联网的问题
This commit is contained in:
@@ -31,19 +31,17 @@ class KRDomain {
|
||||
|
||||
// 备用域名获取地址列表
|
||||
static List<String> kr_backupDomainUrls = [
|
||||
"https://bear-1347601445.cos.ap-guangzhou.myqcloud.com/bear.txt",
|
||||
"https://getbr.oss-cn-shanghai.aliyuncs.com/bear.txt",
|
||||
"https://gitee.com/karelink/getbr/raw/master/README.en.md",
|
||||
"https://configfortrans.oss-cn-guangzhou.aliyuncs.com/bear/bear.txt",
|
||||
"https://ppp2.oss-cn-hongkong.aliyuncs.com/bear1.txt",
|
||||
"https://xgp3.oss-ap-northeast-1.aliyuncs.com/bear1.txt",
|
||||
"https://xpp4.oss-ap-northeast-2.aliyuncs.com/bear1.txt",
|
||||
"https://xpp5.oss-ap-southeast-1.aliyuncs.com/bear1.txt",
|
||||
];
|
||||
|
||||
// 本地备用域名列表(当服务器获取的域名都不可用时使用)
|
||||
static List<String> kr_localBackupDomains = [
|
||||
"api.omntech.com",
|
||||
"api6.omntech.com",
|
||||
"api7.omntech.com",
|
||||
"apicn.bearvpn.top",
|
||||
"apibear.nsdsox.com",
|
||||
"p1.maoayi.top",
|
||||
"p2.maoayi.top",
|
||||
"p3.maoayi.top",
|
||||
];
|
||||
|
||||
static final _storage = KRSecureStorage();
|
||||
@@ -1039,7 +1037,7 @@ class AppConfig {
|
||||
/// 请求域名地址调试模式
|
||||
String get baseUrl {
|
||||
if (kDebugMode) {
|
||||
return "http://154.12.35.103:8080";
|
||||
return "https://api.maodag.top";
|
||||
}
|
||||
return "${KRProtocol.kr_https}://${KRDomain.kr_api}";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user