Migrates the notifications service to use ASP.NET MVC framework

This commit is contained in:
ZadenRB
2020-04-15 00:01:31 -06:00
parent 96795ca250
commit 1180b9746f
5 changed files with 210 additions and 189 deletions

View File

@@ -71,6 +71,7 @@ namespace Jellyfin.Server.Extensions
// Clear app parts to avoid other assemblies being picked up
.ConfigureApplicationPartManager(a => a.ApplicationParts.Clear())
.AddApplicationPart(typeof(StartupController).Assembly)
.AddApplicationPart(typeof(NotificationsController).Assembly)
.AddControllersAsServices();
}