diff options
| author | Vasily <JustAMan@users.noreply.github.com> | 2019-03-12 12:56:39 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-12 12:56:39 +0300 |
| commit | 0220309ea755d8f711da9076d6290a0e4462acc4 (patch) | |
| tree | 099d0c580250ca45a185d5679b31077e860685c7 | |
| parent | 497b4f834fcf545e3b417dddb2ab3d86e20b2998 (diff) | |
| parent | 0ff038f0a2c90ba0ad671eae1ac3c74a7602b855 (diff) | |
Merge pull request #1095 from Bond-009/fix1077
Add AppConfig to the DI service collection
| -rw-r--r-- | Emby.Server.Implementations/ApplicationHost.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.cs index ae5460674..d7696393d 100644 --- a/Emby.Server.Implementations/ApplicationHost.cs +++ b/Emby.Server.Implementations/ApplicationHost.cs @@ -700,6 +700,8 @@ namespace Emby.Server.Implementations serviceCollection.AddSingleton<IApplicationPaths>(ApplicationPaths); + serviceCollection.AddSingleton<IConfiguration>(_configuration); + serviceCollection.AddSingleton(JsonSerializer); serviceCollection.AddSingleton(LoggerFactory); |
