Update Emby.Server.Implementations/ApplicationHost.cs
Co-Authored-By: Phlogi <Phlogi@users.noreply.github.com>
This commit is contained in:
parent
4ffec8ad26
commit
f30af9cd5f
|
@ -1373,7 +1373,7 @@ namespace Emby.Server.Implementations
|
||||||
{
|
{
|
||||||
var localAddress = await GetLocalApiUrl(cancellationToken).ConfigureAwait(false);
|
var localAddress = await GetLocalApiUrl(cancellationToken).ConfigureAwait(false);
|
||||||
|
|
||||||
if ( String.IsNullOrEmpty(ServerConfiguration.WanDdns) ){
|
if (string.IsNullOrEmpty(ServerConfiguration.WanDdns)){
|
||||||
var wanAddress = await GetWanApiUrl(cancellationToken).ConfigureAwait(false);
|
var wanAddress = await GetWanApiUrl(cancellationToken).ConfigureAwait(false);
|
||||||
} else {
|
} else {
|
||||||
// Use the (dynmic) domain name set in the configuration if available instead of querying
|
// Use the (dynmic) domain name set in the configuration if available instead of querying
|
||||||
|
|
Loading…
Reference in New Issue
Block a user