fix(genex-mobile): 升级服务改用 api.gogenex.cn — 国内网络更稳定
.com 域名指向 HK IP 在中国大陆部分网络解析失败, 改用 .cn 国内域名确保升级检查能正常访问。 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
286e4d8886
commit
12a665f2ba
|
|
@ -40,9 +40,9 @@ import 'features/coupons/presentation/pages/wallet_coupons_page.dart';
|
|||
Future<void> main() async {
|
||||
WidgetsFlutterBinding.ensureInitialized();
|
||||
|
||||
// 初始化升级服务(走 Nginx 反向代理 → Kong 网关)
|
||||
// 初始化升级服务(走 Nginx 反向代理 → Kong 网关,国内用 .cn 域名)
|
||||
UpdateService().initialize(UpdateConfig.selfHosted(
|
||||
apiBaseUrl: 'https://api.gogenex.com',
|
||||
apiBaseUrl: 'https://api.gogenex.cn',
|
||||
enabled: true,
|
||||
));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue