mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-25 14:06:41 +01:00
Nullify ControlPanelConfiguration
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user