Skip to content

Commit 6d681d8

Browse files
committed
[增加] 接口地址参数
1 parent 3e41edb commit 6d681d8

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

GameFrameX.StartUp/Options/LauncherOptions.cs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,20 @@ public sealed class LauncherOptions
398398
[GrafanaLokiLabelTag]
399399
public string Label { get; set; }
400400

401+
/// <summary>
402+
/// 客户端API地址
403+
/// </summary>
404+
[Option(nameof(ClientApiUrl), Description = "客户端API地址")]
405+
[DefaultValue("")]
406+
public string ClientApiUrl { get; set; }
407+
408+
/// <summary>
409+
/// HubAPI地址
410+
/// </summary>
411+
[Option(nameof(HubApiUrl), Description = "HubAPI地址")]
412+
[DefaultValue("")]
413+
public string HubApiUrl { get; set; }
414+
401415
/// <summary>
402416
/// 检查ServerId
403417
/// </summary>

0 commit comments

Comments
 (0)