Selaa lähdekoodia

Remove IConfiguration from service collection

This does not appear to be used anywhere and the web host already handles injecting this as a special case anyways
Mark Monteiro 5 vuotta sitten
vanhempi
sitoutus
189f005846
1 muutettua tiedostoa jossa 0 lisäystä ja 2 poistoa
  1. 0 2
      Emby.Server.Implementations/ApplicationHost.cs

+ 0 - 2
Emby.Server.Implementations/ApplicationHost.cs

@@ -664,8 +664,6 @@ namespace Emby.Server.Implementations
 
             serviceCollection.AddSingleton<IApplicationPaths>(ApplicationPaths);
 
-            serviceCollection.AddSingleton<IConfiguration>(_configuration);
-
             serviceCollection.AddSingleton(JsonSerializer);
 
             serviceCollection.AddSingleton(LoggerFactory);