mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Fix build
This commit is contained in:
parent
bc69aa251b
commit
1bbe262646
@ -90,6 +90,11 @@ namespace Jellyfin.Server.Filters
|
|||||||
|
|
||||||
private bool IsManagementListenEntrypoint(ActionExecutingContext context)
|
private bool IsManagementListenEntrypoint(ActionExecutingContext context)
|
||||||
{
|
{
|
||||||
|
if (context.HttpContext.Connection.LocalIpAddress == null)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
return managementEndpoints.Contains((context.HttpContext.Connection.LocalIpAddress, context.HttpContext.Connection.LocalPort));
|
return managementEndpoints.Contains((context.HttpContext.Connection.LocalIpAddress, context.HttpContext.Connection.LocalPort));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user