File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
chat/src/main/java/cn/wildfire/chat/app
uikit/src/main/java/cn/wildfire/chat/kit Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ public class AppService implements AppServiceProvider {
4949 * <br>
5050 * <br>
5151 */
52- public static String APP_SERVER_ADDRESS /*请仔细阅读上面的注释*/ = "http://wildfirechat.cn :8888" ;
52+ public static String APP_SERVER_ADDRESS /*请仔细阅读上面的注释*/ = "http://wildfirechat.net :8888" ;
5353// public static String APP_SERVER_ADDRESS/*请仔细阅读上面的注释*/ = "https://app.wildfirechat.net";
5454
5555 private AppService () {
@@ -455,8 +455,8 @@ public static void validateConfig(Context context) {
455455 || (!APP_SERVER_ADDRESS .startsWith ("http" ) && !APP_SERVER_ADDRESS .startsWith ("https" ))
456456 || Config .IM_SERVER_HOST .equals ("127.0.0.1" )
457457 || APP_SERVER_ADDRESS .contains ("127.0.0.1" )
458- || (!Config .IM_SERVER_HOST .contains ("wildfirechat.cn " ) && APP_SERVER_ADDRESS .contains ("wildfirechat.cn " ))
459- || (Config .IM_SERVER_HOST .contains ("wildfirechat.cn " ) && !APP_SERVER_ADDRESS .contains ("wildfirechat.cn " ))
458+ || (!Config .IM_SERVER_HOST .contains ("wildfirechat.net " ) && APP_SERVER_ADDRESS .contains ("wildfirechat.net " ))
459+ || (Config .IM_SERVER_HOST .contains ("wildfirechat.net " ) && !APP_SERVER_ADDRESS .contains ("wildfirechat.net " ))
460460 ) {
461461 Toast .makeText (context , "配置错误,请检查配置,应用即将关闭..." , Toast .LENGTH_LONG ).show ();
462462 new Handler ().postDelayed (() -> {
Original file line number Diff line number Diff line change @@ -23,10 +23,10 @@ public class Config {
2323 * <br>
2424 * <br>
2525 */
26- public static String IM_SERVER_HOST /*请仔细阅读上面的注释*/ = "wildfirechat.cn " ;
26+ public static String IM_SERVER_HOST /*请仔细阅读上面的注释*/ = "wildfirechat.net " ;
2727
2828 // 注意APP_SERVER_ADDRESS已从kit中移除,移动到了AppService.java中
29- //public static String APP_SERVER_ADDRESS = "http://wildfirechat.cn :8888";
29+ //public static String APP_SERVER_ADDRESS = "http://wildfirechat.net :8888";
3030
3131 /**
3232 * 音视频通话所用的turn server配置,详情参考 https://docs.wildfirechat.net/webrtc/
You can’t perform that action at this time.
0 commit comments