|
|
@ -1374,7 +1374,8 @@ namespace Emby.Server.Implementations
|
|
|
|
var localAddress = await GetLocalApiUrl(cancellationToken).ConfigureAwait(false);
|
|
|
|
var localAddress = await GetLocalApiUrl(cancellationToken).ConfigureAwait(false);
|
|
|
|
var wanAddress = string.Empty;
|
|
|
|
var wanAddress = string.Empty;
|
|
|
|
|
|
|
|
|
|
|
|
if (string.IsNullOrEmpty(ServerConfigurationManager.Configuration.WanDdns)){
|
|
|
|
if (string.IsNullOrEmpty(ServerConfigurationManager.Configuration.WanDdns))
|
|
|
|
|
|
|
|
{
|
|
|
|
wanAddress = await GetWanApiUrl(cancellationToken).ConfigureAwait(false);
|
|
|
|
wanAddress = await GetWanApiUrl(cancellationToken).ConfigureAwait(false);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|