FrontConfig.ts 624 B

12345678910111213141516171819202122
  1. /**
  2. * @en load server list from remote file, if configured, will use it first
  3. * @zh 从远程文件加载服务器列表,如果配置了值,则会优先使用
  4. */
  5. import { LOBBY_USE_HTTP } from "../shared/configs/Constants";
  6. /**
  7. * json file format example
  8. * json 文件格式示例
  9. * ["ws://127.0.0.1:3001", "ws://192.168.0.9"]
  10. */
  11. export const GameServerListFileURL = '';//'http://192.168.0.104:7456/web-mobile/web-mobile/server-list.json';
  12. /**
  13. * @en server list, randomly select one connection
  14. * @zh 服务器列表,随机选择一个连接
  15. */
  16. export const GameServerURLs = [
  17. 'http://127.0.0.1:3001',
  18. ];