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
pull/2480/head
Mark Monteiro 5 years ago
parent 48f8118072
commit 189f005846

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

Loading…
Cancel
Save