Browse Source

Fix build, missing changes.

Phlogi 6 years ago
parent
commit
4ffec8ad26
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Emby.Server.Implementations/ApplicationHost.cs

+ 2 - 2
Emby.Server.Implementations/ApplicationHost.cs

@@ -1498,7 +1498,7 @@ namespace Emby.Server.Implementations
         {
             if (ipAddress.AddressFamily == IpAddressFamily.InterNetworkV6)
             {
-                return GetLocalApiUrl("[" + ipAddress.Address + "]");
+                return GetLocalApiUrlWithPort("[" + ipAddress.Address + "]");
             }
 
             return GetLocalApiUrlWithPort(ipAddress.Address);
@@ -1521,7 +1521,7 @@ namespace Emby.Server.Implementations
         {
             if (ipAddress.AddressFamily == IpAddressFamily.InterNetworkV6)
             {
-                return GetLocalApiUrl("[" + ipAddress.Address + "]");
+                return GetWanApiUrlWithPort("[" + ipAddress.Address + "]");
             }
 
             return GetWanApiUrlWithPort(ipAddress.Address);