squidGame/tgx-games-client/assets/module_basic/scripts/FrontConfig.ts

22 lines
724 B
TypeScript

/**
* @en load server list from remote file, if configured, will use it first
* @zh 从远程文件加载服务器列表,如果配置了值,则会优先使用
*/
/**
* json file format example
* json 文件格式示例
* ["ws://127.0.0.1:3001", "ws://192.168.0.9"]
*/
export const GameServerListFileURL = '';//'http://192.168.0.104:7456/web-mobile/web-mobile/server-list.json';
/**
* @en server list, randomly select one connection
* @zh 服务器列表,随机选择一个连接
*/
export const GameServerURLs = [
// 'wss://chengchennet.cn:15005',//wss远程链接
// 'ws://118.195.174.30:3001',//ws远程连接
//'ws://127.0.0.1:3002',//ws本地连接
'wss://squidgameserver.gryphon.fun'
];