Files
linker/cmonitor/server/config/Config.cs
2024-04-29 14:18:38 +08:00

17 lines
496 B
C#

namespace cmonitor.config
{
public sealed partial class ConfigInfo
{
public ConfigServerInfo Server { get; set; } = new ConfigServerInfo();
}
public sealed partial class ConfigServerInfo
{
public int WebPort { get; set; } = 1800;
public string WebRoot { get; set; } = "./web/";
public int ApiPort { get; set; } = 1801;
public int ServicePort { get; set; } = 1802;
public string ApiPassword { get; set; } = "snltty";
}
}