Inject DownloadableFileFilter in Service.DiConfig
This commit is contained in:
parent
b95dbcc824
commit
a02fcc6c1e
1 changed files with 2 additions and 0 deletions
|
|
@ -37,6 +37,8 @@ public static class DiConfig
|
||||||
services.AddScoped<TorrentRunner>();
|
services.AddScoped<TorrentRunner>();
|
||||||
services.AddScoped<DebridLinkClient>();
|
services.AddScoped<DebridLinkClient>();
|
||||||
|
|
||||||
|
services.AddSingleton<IDownloadableFileFilter, DownloadableFileFilter>();
|
||||||
|
|
||||||
services.AddSingleton<IAuthorizationHandler, AuthSettingHandler>();
|
services.AddSingleton<IAuthorizationHandler, AuthSettingHandler>();
|
||||||
|
|
||||||
services.AddHostedService<ProviderUpdater>();
|
services.AddHostedService<ProviderUpdater>();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue