Add initial management interface support.

This commit is contained in:
Erwin de Haan
2020-10-21 17:28:00 +02:00
parent 82d27e6461
commit c5d900b164
7 changed files with 259 additions and 0 deletions

View File

@@ -159,6 +159,9 @@ namespace Jellyfin.Server.Extensions
})
.AddMvc(opts =>
{
// Seperate the management routes and the general ones.
opts.Filters.Add(typeof(ManagementInterfaceFilter));
// Allow requester to change between camelCase and PascalCase
opts.RespectBrowserAcceptHeader = true;