Merge pull request #1095 from Bond-009/fix1077
Add AppConfig to the DI service collection
This commit is contained in:
commit
0220309ea7
|
@ -700,6 +700,8 @@ namespace Emby.Server.Implementations
|
|||
|
||||
serviceCollection.AddSingleton<IApplicationPaths>(ApplicationPaths);
|
||||
|
||||
serviceCollection.AddSingleton<IConfiguration>(_configuration);
|
||||
|
||||
serviceCollection.AddSingleton(JsonSerializer);
|
||||
|
||||
serviceCollection.AddSingleton(LoggerFactory);
|
||||
|
|
Loading…
Reference in New Issue
Block a user