diff options
| author | Tim Eisele <Shadowghost@users.noreply.github.com> | 2023-10-11 00:02:37 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-11 00:02:37 +0200 |
| commit | dc27d8f9cd3b6cf280ba8e5e2520db387f651fb4 (patch) | |
| tree | f3f4fb7d2f4b2696cba80178bc5e8045167a244c /Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs | |
| parent | a88e13a677623d479cc32a6e436e0a193a64b78e (diff) | |
Refactor URI overrides (#10051)
Diffstat (limited to 'Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs')
| -rw-r--r-- | Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs b/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs index 89dbbdd2f..cb1680558 100644 --- a/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs +++ b/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs @@ -282,7 +282,7 @@ namespace Jellyfin.Server.Extensions AddIPAddress(config, options, subnet.Prefix, subnet.PrefixLength); } } - else if (NetworkExtensions.TryParseHost(allowedProxies[i], out var addresses)) + else if (NetworkExtensions.TryParseHost(allowedProxies[i], out var addresses, config.EnableIPv4, config.EnableIPv6)) { foreach (var address in addresses) { |
