Skip to content

Commit 2be6d72

Browse files
committed
feat(启动配置): 启用TCP和HTTP服务并添加相关端口配置
添加IsEnableTcp和IsEnableHttp标志以启用TCP和HTTP服务,同时配置相关端口
1 parent b66e5a1 commit 2be6d72

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

GameFrameX.Launcher/StartUp/AppStartUpGame.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,11 @@ protected override void Init()
9898
{
9999
ServerId = GlobalConst.GameServiceServerId,
100100
ServerType = GlobalConst.GameServiceName,
101+
IsEnableTcp = true,
101102
InnerPort = 29100,
102103
MetricsPort = 29090,
103104
HttpPort = 28080,
105+
IsEnableHttp = true,
104106
WsPort = 29110,
105107
MinModuleId = 10,
106108
HttpIsDevelopment = true,

0 commit comments

Comments
 (0)