diff --git a/SPTarkov.Server/Program.cs b/SPTarkov.Server/Program.cs index f66c7f99..e8482b78 100644 --- a/SPTarkov.Server/Program.cs +++ b/SPTarkov.Server/Program.cs @@ -123,7 +123,9 @@ public static class Program { // This method is not expected to be async so we need to wait for the Task instead of using await keyword options.ApplicationServices.GetService()!.OnLoad().Wait(); - var httpConfig = options.ApplicationServices.GetService()?.GetConfig()!; + var httpConfig = options + .ApplicationServices.GetService() + ?.GetConfig()!; var certHelper = options.ApplicationServices.GetService()!; options.Listen( IPAddress.Parse(httpConfig.Ip),