]> git.deb.at Git - rhonda/impostor.git/commitdiff
Remove unnecessary if def
authorAeonLucid <aeonlucid@outlook.com>
Thu, 22 Oct 2020 20:19:18 +0000 (22:19 +0200)
committerAeonLucid <aeonlucid@outlook.com>
Thu, 22 Oct 2020 20:19:18 +0000 (22:19 +0200)
src/Impostor.Server/Program.cs

index b3f8279e586ee1a77bb0efc9aed2784effc209bb..9c49224af67305f71cc446660b36ac1152115167 100644 (file)
@@ -91,9 +91,7 @@ namespace Impostor.Server
                         .GetSection(ServerRedirectorConfig.Section)
                         .Get<ServerRedirectorConfig>() ?? new ServerRedirectorConfig();
 
-#if DEBUG
                     services.Configure<DebugConfig>(host.Configuration.GetSection(DebugConfig.Section));
-#endif
                     services.Configure<ServerConfig>(host.Configuration.GetSection(ServerConfig.Section));
                     services.Configure<ServerRedirectorConfig>(host.Configuration.GetSection(ServerRedirectorConfig.Section));