aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/Program.cs
diff options
context:
space:
mode:
authorPatrick Barron <barronpm@gmail.com>2023-01-12 11:51:12 -0500
committerPatrick Barron <barronpm@gmail.com>2023-01-12 11:51:12 -0500
commit033ffa9a8899be7f28e72603cf5881c066b40cd5 (patch)
tree16c78319c83c57e6f9d8726d44d1c12231fc8bcc /Jellyfin.Server/Program.cs
parent0f46eca6a4e9f4b400c7a08defd033ce834e2974 (diff)
Fix tests
Diffstat (limited to 'Jellyfin.Server/Program.cs')
-rw-r--r--Jellyfin.Server/Program.cs6
1 files changed, 1 insertions, 5 deletions
diff --git a/Jellyfin.Server/Program.cs b/Jellyfin.Server/Program.cs
index 4725005ae..1506530f0 100644
--- a/Jellyfin.Server/Program.cs
+++ b/Jellyfin.Server/Program.cs
@@ -185,11 +185,7 @@ namespace Jellyfin.Server
try
{
var host = Host.CreateDefaultBuilder()
- .ConfigureServices(services =>
- {
- // NOTE: Called first to ensure app host configuration is fully initialized
- appHost.Init(services);
- })
+ .ConfigureServices(services => appHost.Init(services))
.ConfigureWebHostDefaults(webHostBuilder => webHostBuilder.ConfigureWebHostBuilder(appHost, startupConfig, appPaths))
.ConfigureAppConfiguration(config => config.ConfigureAppConfiguration(options, appPaths, startupConfig))
.UseSerilog()