Nullify ControlPanelConfiguration

This commit is contained in:
Jordan Dominion
2023-11-23 19:00:41 -05:00
parent 0bd4eaf9db
commit f885a4e292
@@ -1,7 +1,5 @@
using System.Collections.Generic;
#nullable disable
namespace Tgstation.Server.Host.Configuration
{
/// <summary>
@@ -38,16 +36,16 @@ namespace Tgstation.Server.Host.Configuration
/// <summary>
/// The channel to retrieve the webpanel from. "local" uses the bundled version.
/// </summary>
public string Channel { get; set; }
public string? Channel { get; set; }
/// <summary>
/// The public path to the TGS control panel from a wider network.
/// </summary>
public string PublicPath { get; set; }
public string? PublicPath { get; set; }
/// <summary>
/// Origins allowed for CORS requests.
/// </summary>
public ICollection<string> AllowedOrigins { get; set; }
public ICollection<string>? AllowedOrigins { get; set; }
}
}