From f885a4e292d2bb90c88bd990316f2d86f4498620 Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Thu, 23 Nov 2023 19:00:41 -0500 Subject: [PATCH] Nullify `ControlPanelConfiguration` --- .../Configuration/ControlPanelConfiguration.cs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/Tgstation.Server.Host/Configuration/ControlPanelConfiguration.cs b/src/Tgstation.Server.Host/Configuration/ControlPanelConfiguration.cs index 437a420495..12da65e312 100644 --- a/src/Tgstation.Server.Host/Configuration/ControlPanelConfiguration.cs +++ b/src/Tgstation.Server.Host/Configuration/ControlPanelConfiguration.cs @@ -1,7 +1,5 @@ using System.Collections.Generic; -#nullable disable - namespace Tgstation.Server.Host.Configuration { /// @@ -38,16 +36,16 @@ namespace Tgstation.Server.Host.Configuration /// /// The channel to retrieve the webpanel from. "local" uses the bundled version. /// - public string Channel { get; set; } + public string? Channel { get; set; } /// /// The public path to the TGS control panel from a wider network. /// - public string PublicPath { get; set; } + public string? PublicPath { get; set; } /// /// Origins allowed for CORS requests. /// - public ICollection AllowedOrigins { get; set; } + public ICollection? AllowedOrigins { get; set; } } }