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
This commit is contained in:
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…
Reference in New Issue
Block a user