diff options
| author | Mark Monteiro <marknr.monteiro@protonmail.com> | 2020-02-28 23:35:53 +0100 |
|---|---|---|
| committer | Mark Monteiro <marknr.monteiro@protonmail.com> | 2020-02-28 23:35:53 +0100 |
| commit | 189f005846af9a8f960f6a79cecc8a65feb0bfa6 (patch) | |
| tree | 18e1183c0b03077dcdd7ad0e3b15d1decdf360b1 | |
| parent | 48f81180726df5a0ef6a64572a4277f3c6af6f9c (diff) | |
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
| -rw-r--r-- | Emby.Server.Implementations/ApplicationHost.cs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.cs index f3abf2a3e..eee32520f 100644 --- a/Emby.Server.Implementations/ApplicationHost.cs +++ b/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); |
