Merge pull request #1095 from Bond-009/fix1077

Add AppConfig to the DI service collection
This commit is contained in:
Vasily 2019-03-12 12:56:39 +03:00 committed by GitHub
commit 0220309ea7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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