Update Emby.Server.Implementations/ApplicationHost.cs

Co-Authored-By: Phlogi <Phlogi@users.noreply.github.com>
pull/1151/head
Claus Vium 6 years ago committed by GitHub
parent 4ffec8ad26
commit f30af9cd5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save