|
@@ -18,6 +18,9 @@ public class NetFunctionConfig {
|
|
|
|
|
|
private static final String UUID = "UUID";
|
|
|
|
|
|
+ private static final String default_server_ip = "172.28.100.100";
|
|
|
+ private static final String default_server_port = "8100";
|
|
|
+
|
|
|
public static void setWebviewType(int type) {
|
|
|
getEditor().putInt(WEBVIEW_TYPE, type).apply();
|
|
|
}
|
|
@@ -39,7 +42,7 @@ public class NetFunctionConfig {
|
|
|
}
|
|
|
|
|
|
public static String getServerIp() {
|
|
|
- return getSP().getString(SERVER_IP, "192.168.101.1");
|
|
|
+ return getSP().getString(SERVER_IP, default_server_ip);
|
|
|
}
|
|
|
|
|
|
public static void setServerPort(String serverPort) {
|
|
@@ -47,7 +50,7 @@ public class NetFunctionConfig {
|
|
|
}
|
|
|
|
|
|
public static String getServerPort() {
|
|
|
- return getSP().getString(SERVER_PORT, "8100");
|
|
|
+ return getSP().getString(SERVER_PORT, default_server_port);
|
|
|
}
|
|
|
|
|
|
public static void setUUID(String uuid) {
|