|
@@ -204,9 +204,13 @@ cc.Class({
|
|
|
let qqUrl = 'wss://qq-message-taptap.duowan.com';
|
|
|
var socketUrl = GameGlobal.debug ? testUrl : pUrl;
|
|
|
|
|
|
+ let ttUrl = 'wss://headlines-message-taptap.duowan.com';
|
|
|
+
|
|
|
// let socketUrl = 'ws://172.16.15.196:9099/connect';
|
|
|
if (CC_QQPLAY) {
|
|
|
socketUrl = GameGlobal.debug ? testUrl : qqUrl;
|
|
|
+ } else if (window.tt != undefined) {
|
|
|
+ socketUrl = GameGlobal.debug ? testUrl : ttUrl;
|
|
|
}
|
|
|
|
|
|
let ws = new WsManager(socketUrl, {
|