chore(config): 探测地址改为本机后端 127.0.0.1:8081

This commit is contained in:
Zhou Weidong authored and trae-solo-agent committed 2026-10-20 09:26:12 +08:00
1 parent 6022d789ed
commit 99c72e2c32
1 file changed
+3 -2
+3 -2
View File
@@ -15,8 +15,9 @@ class AppConfig {
/// `ipconfig getifaddr en0` 重新确认。默认值只改这一行。
static const String devHostBaseUrl = 'http://192.168.31.187:8081';
/// 办公室内网(Wi-Fi)直连地址,双网络自动切换时的首选。
static const String lanBaseUrl = 'http://192.168.31.250:8081';
/// 本机后端地址:通过 `adb reverse tcp:8081 tcp:8081` 映射到开发机,
/// 探测可达时 App 直连本机服务;不可达时回落到公网地址。
static const String lanBaseUrl = 'http://127.0.0.1:8081';
/// 公网地址(远程/移动网络访问时使用)。
static const String publicBaseUrl = 'http://39.162.50.99:8081';