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

22 lines
725 B
TypeScript
Raw Permalink Normal View History

2025-02-07 10:49:34 +08:00
/**
* @en load server list from remote file, if configured, will use it first
* @zh 使
2025-03-06 22:46:48 +08:00
*/
2025-02-07 10:49:34 +08:00
/**
* json file format example
* json
* ["ws://127.0.0.1:3001", "ws://192.168.0.9"]
2025-03-06 22:46:48 +08:00
*/
export const GameServerListFileURL = ""; //'http://192.168.0.104:7456/web-mobile/web-mobile/server-list.json';
2025-02-07 10:49:34 +08:00
/**
* @en server list, randomly select one connection
* @zh
2025-03-06 22:46:48 +08:00
*/
2025-02-07 10:49:34 +08:00
export const GameServerURLs = [
2025-03-06 22:46:48 +08:00
// 'wss://chengchennet.cn:15005',//wss远程链接
2025-03-07 13:33:59 +08:00
// "ws://150.158.100.241:8092", //ws远程链接
"ws://127.0.0.1:8092", //ws本地连接
2025-03-06 22:46:48 +08:00
// 'wss://squidgameserver.gryphon.fun'
];