Browse Source

修改为https协议

zwp 4 years ago
parent
commit
1580208b59
1 changed files with 1 additions and 1 deletions
  1. 1 1
      uchat_room/src/main/java/com/shanp/youqi/room/RoomBuilder.java

+ 1 - 1
uchat_room/src/main/java/com/shanp/youqi/room/RoomBuilder.java

@@ -71,7 +71,7 @@ public class RoomBuilder {
         BasicConfig.INSTANCE.setCacheDir(Constants.CACHE_DIR);
         BasicConfig.INSTANCE.setCacheDir(Constants.CACHE_DIR);
         //Pingpp.DEBUG = BasicConfig.INSTANCE.isDebuggable();
         //Pingpp.DEBUG = BasicConfig.INSTANCE.isDebuggable();
 
 
-        UriProvider.init("http://" + host, "ws://" + host + ":3006");
+        UriProvider.init("https://" + host, "ws://" + host + ":3006");
         OkHttpManager.getInstance().init(context, BasicConfig.INSTANCE.isDebuggable());
         OkHttpManager.getInstance().init(context, BasicConfig.INSTANCE.isDebuggable());
 
 
         //initNimUIKit();
         //initNimUIKit();