diff --git a/avenginekit/avenginekit.aar b/avenginekit/avenginekit.aar index 7b8ec6de5..eb0b87b22 100644 Binary files a/avenginekit/avenginekit.aar and b/avenginekit/avenginekit.aar differ diff --git a/chat/src/main/java/cn/wildfire/chat/app/AppService.java b/chat/src/main/java/cn/wildfire/chat/app/AppService.java index 53b4fbe24..9e9964c0e 100644 --- a/chat/src/main/java/cn/wildfire/chat/app/AppService.java +++ b/chat/src/main/java/cn/wildfire/chat/app/AppService.java @@ -49,7 +49,7 @@ public class AppService implements AppServiceProvider { *
*
*/ - public static String APP_SERVER_ADDRESS/*请仔细阅读上面的注释*/ = "http://wildfirechat.cn:8888"; + public static String APP_SERVER_ADDRESS/*请仔细阅读上面的注释*/ = "http://wildfirechat.net:8888"; // public static String APP_SERVER_ADDRESS/*请仔细阅读上面的注释*/ = "https://app.wildfirechat.net"; private AppService() { @@ -455,8 +455,8 @@ public static void validateConfig(Context context) { || (!APP_SERVER_ADDRESS.startsWith("http") && !APP_SERVER_ADDRESS.startsWith("https")) || Config.IM_SERVER_HOST.equals("127.0.0.1") || APP_SERVER_ADDRESS.contains("127.0.0.1") - || (!Config.IM_SERVER_HOST.contains("wildfirechat.cn") && APP_SERVER_ADDRESS.contains("wildfirechat.cn")) - || (Config.IM_SERVER_HOST.contains("wildfirechat.cn") && !APP_SERVER_ADDRESS.contains("wildfirechat.cn")) + || (!Config.IM_SERVER_HOST.contains("wildfirechat.net") && APP_SERVER_ADDRESS.contains("wildfirechat.net")) + || (Config.IM_SERVER_HOST.contains("wildfirechat.net") && !APP_SERVER_ADDRESS.contains("wildfirechat.net")) ) { Toast.makeText(context, "配置错误,请检查配置,应用即将关闭...", Toast.LENGTH_LONG).show(); new Handler().postDelayed(() -> { diff --git a/uikit/src/main/java/cn/wildfire/chat/kit/Config.java b/uikit/src/main/java/cn/wildfire/chat/kit/Config.java index deb921aff..25f01033b 100644 --- a/uikit/src/main/java/cn/wildfire/chat/kit/Config.java +++ b/uikit/src/main/java/cn/wildfire/chat/kit/Config.java @@ -23,10 +23,10 @@ public class Config { *
*
*/ - public static String IM_SERVER_HOST /*请仔细阅读上面的注释*/ = "wildfirechat.cn"; + public static String IM_SERVER_HOST /*请仔细阅读上面的注释*/ = "wildfirechat.net"; // 注意APP_SERVER_ADDRESS已从kit中移除,移动到了AppService.java中 - //public static String APP_SERVER_ADDRESS = "http://wildfirechat.cn:8888"; + //public static String APP_SERVER_ADDRESS = "http://wildfirechat.net:8888"; /** * 音视频通话所用的turn server配置,详情参考 https://docs.wildfirechat.net/webrtc/