diff options
| author | Shadowghost <Ghost_of_Stone@web.de> | 2026-09-05 08:55:12 +0200 |
|---|---|---|
| committer | Shadowghost <Ghost_of_Stone@web.de> | 2026-09-05 08:55:12 +0200 |
| commit | 9c259027dfa6d799dab282fd2ee0315e572b4a7c (patch) | |
| tree | a77df8f19ba4b8e8d028e4f317914af7304348b7 | |
| parent | c622a16261d8c4e364a05caeecee798c54803501 (diff) | |
Cleanup
| -rw-r--r-- | Jellyfin.Server/Program.cs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Jellyfin.Server/Program.cs b/Jellyfin.Server/Program.cs index 12f92efb35..26731d65bd 100644 --- a/Jellyfin.Server/Program.cs +++ b/Jellyfin.Server/Program.cs @@ -180,9 +180,7 @@ namespace Jellyfin.Server }) .ConfigureAppConfiguration(config => config.ConfigureAppConfiguration(options, appPaths, startupConfig)) .UseSerilog() - .ConfigureServices(e => e - .RegisterStartupLogger() - .AddSingleton<IServiceCollection>(e)) + .ConfigureServices(e => e.RegisterStartupLogger()) .Build(); /* @@ -307,7 +305,6 @@ namespace Jellyfin.Server .AddSingleton<ServerApplicationPaths>(appPaths) .RegisterStartupLogger(); - migrationStartupServiceProvider.AddSingleton(migrationStartupServiceProvider); var startupService = migrationStartupServiceProvider.BuildServiceProvider(); PrepareDatabaseProvider(startupService); |
