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