diff options
| author | Mark Monteiro <marknr.monteiro@protonmail.com> | 2020-04-04 23:14:35 -0400 |
|---|---|---|
| committer | Mark Monteiro <marknr.monteiro@protonmail.com> | 2020-04-04 23:14:35 -0400 |
| commit | 241d0ae65cca0ffdd92b7c366d692acaa71cd211 (patch) | |
| tree | 396eb2e6d51e2d3480bd04ee44c285c3b8bcab87 /Emby.Server.Implementations/ApplicationHost.cs | |
| parent | 809cf3a0c288713fd0ed0cc0ace6f7bb90a90ca2 (diff) | |
Inject IStartupOptions into StartupWizard
Diffstat (limited to 'Emby.Server.Implementations/ApplicationHost.cs')
| -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 bae97c17e..0620469c0 100644 --- a/Emby.Server.Implementations/ApplicationHost.cs +++ b/Emby.Server.Implementations/ApplicationHost.cs @@ -557,6 +557,8 @@ namespace Emby.Server.Implementations : typeof(NullImageEncoder); serviceCollection.AddSingleton(typeof(IImageEncoder), imageEncoderType); + serviceCollection.AddSingleton(_startupOptions); + serviceCollection.AddMemoryCache(); serviceCollection.AddSingleton(ConfigurationManager); |
