mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-05 05:42:52 +01:00
Add initial management interface support.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user