浏览代码

Fix build, missing changes.

Phlogi 6 年之前
父节点
当前提交
4ffec8ad26
共有 1 个文件被更改,包括 2 次插入2 次删除
  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)
             if (ipAddress.AddressFamily == IpAddressFamily.InterNetworkV6)
             {
             {
-                return GetLocalApiUrl("[" + ipAddress.Address + "]");
+                return GetLocalApiUrlWithPort("[" + ipAddress.Address + "]");
             }
             }
 
 
             return GetLocalApiUrlWithPort(ipAddress.Address);
             return GetLocalApiUrlWithPort(ipAddress.Address);
@@ -1521,7 +1521,7 @@ namespace Emby.Server.Implementations
         {
         {
             if (ipAddress.AddressFamily == IpAddressFamily.InterNetworkV6)
             if (ipAddress.AddressFamily == IpAddressFamily.InterNetworkV6)
             {
             {
-                return GetLocalApiUrl("[" + ipAddress.Address + "]");
+                return GetWanApiUrlWithPort("[" + ipAddress.Address + "]");
             }
             }
 
 
             return GetWanApiUrlWithPort(ipAddress.Address);
             return GetWanApiUrlWithPort(ipAddress.Address);