mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-06 18:26:33 +00:00
Fix build
This commit is contained in:
@@ -90,6 +90,11 @@ namespace Jellyfin.Server.Filters
|
||||
|
||||
private bool IsManagementListenEntrypoint(ActionExecutingContext context)
|
||||
{
|
||||
if (context.HttpContext.Connection.LocalIpAddress == null)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return managementEndpoints.Contains((context.HttpContext.Connection.LocalIpAddress, context.HttpContext.Connection.LocalPort));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user