diff --git a/src/Recyclarr.Cache/CacheAutofacModule.cs b/src/Recyclarr.Cache/CacheAutofacModule.cs index bc1f5ee4..7cded8cc 100644 --- a/src/Recyclarr.Cache/CacheAutofacModule.cs +++ b/src/Recyclarr.Cache/CacheAutofacModule.cs @@ -7,6 +7,5 @@ public class CacheAutofacModule : Module protected override void Load(ContainerBuilder builder) { builder.RegisterType().As(); - // builder.RegisterGeneric(typeof(CachePersister<>)).As(typeof(ICachePersister<>)); } } diff --git a/src/Recyclarr.Gui/Program.cs b/src/Recyclarr.Gui/Program.cs index c4da7fee..aac90fbf 100644 --- a/src/Recyclarr.Gui/Program.cs +++ b/src/Recyclarr.Gui/Program.cs @@ -45,4 +45,4 @@ app.UseRouting(); app.MapBlazorHub(); app.MapFallbackToPage("/_Host"); -app.Run(); +await app.RunAsync();