first commit

This commit is contained in:
ytc1012
2025-11-18 18:38:53 +08:00
commit bea9db4488
1582 changed files with 335346 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
// /**连接配置*/
// 使用nginx代理后的配置通过80端口访问
// WebSocket通过 /ws 路径代理到8004端口
// HTTP API通过 /api 路径代理到8088端口
import { _decorator } from 'cc';
const GameConfig = {
// 通过nginx代理的WebSocket地址nginx将/ws代理到127.0.0.1:8004
serverUrl: "ws://103.236.81.216:6060/ws",
// 通过nginx代理的HTTP API地址nginx将/api代理到127.0.0.1:8088
webUrl: "http://103.236.81.216:6060/api",
}
export { GameConfig };