chore(config): 默认服务地址改为公网 39.162.50.99:8081

This commit is contained in:
Zhou Weidong authored and trae-solo-agent committed 2026-10-19 21:12:16 +08:00
1 parent 3d0e0804ca
commit 814b2c0b7b
2 files changed
+10 -11

No files matched your search

+5 -6
View File
@@ -9,14 +9,13 @@ import 'package:flutter/foundation.dart';
class AppConfig {
const AppConfig._();
/// 真机默认使用的开发机局域网地址。
/// 真机默认使用的服务地址。
///
/// 这个地址跟着电脑所在的网络走,换网络后要用
/// `ipconfig getifaddr en0` 重新确认。默认值只改这一行。
static const String devHostBaseUrl = 'http://192.168.31.187:8081';
/// 当前指向公网服务;换地址时改这一行。
static const String devHostBaseUrl = 'http://39.162.50.99:8081';
/// 办公室内网(Wi-Fi)直连地址,双网络自动切换时的首选。
static const String lanBaseUrl = 'http://192.168.31.250:8081';
/// 双网络探测的首选地址,当前与默认地址一致(公网服务)。
static const String lanBaseUrl = 'http://39.162.50.99:8081';
static const String _loopbackBaseUrl = 'http://127.0.0.1:8081';