1
This commit is contained in:
parent
e292fb5646
commit
cb30a257e5
@ -165,6 +165,9 @@ function getZName(zid) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function getGameServer(teamUuid) {
|
export function getGameServer(teamUuid) {
|
||||||
|
if (isDevEnv()) {
|
||||||
|
return 'wss://game2006-test.kingsome.cn/websocket';
|
||||||
|
}
|
||||||
const nodeId = teamUuid ? teamUuid.split("_")[0] : cc.SDKManage.NodeId;
|
const nodeId = teamUuid ? teamUuid.split("_")[0] : cc.SDKManage.NodeId;
|
||||||
const zid = teamUuid
|
const zid = teamUuid
|
||||||
? teamUuid.split("_")[1]
|
? teamUuid.split("_")[1]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user