chore(config): 开发默认地址改回本机 10.39.237.1
This commit is contained in:
1 parent
827c972da0
commit
d13b601ae8
2 files changed
+33
-12
No files matched your search
@@ -11,10 +11,10 @@ import 'package:flutter/foundation.dart';
|
||||
class AppConfig {
|
||||
const AppConfig._();
|
||||
|
||||
/// 开发调试默认服务地址,当前直接指向公网。
|
||||
/// 开发调试默认服务地址,当前指向本机局域网 IP。
|
||||
///
|
||||
/// 需要切换局域网联调时只改这一行,地址不要带结尾斜杠。
|
||||
static const String devHostBaseUrl = 'http://39.162.50.99:8081';
|
||||
/// 换网络时只改这一行,地址不要带结尾斜杠。
|
||||
static const String devHostBaseUrl = 'http://10.39.237.1:8081';
|
||||
|
||||
/// 本机后端地址:通过 `adb reverse tcp:8081 tcp:8081` 映射到开发机,
|
||||
/// 探测可达时 App 直连本机服务;不可达时回落到公网地址。
|
||||
|
||||
Reference in new issue
Block a user