Merge pull request #1095 from Bond-009/fix1077

Add AppConfig to the DI service collection
pull/785/head^2
Vasily 6 years ago committed by GitHub
commit 0220309ea7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -700,6 +700,8 @@ 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