Update Emby.Server.Implementations/ApplicationHost.cs

Co-Authored-By: Phlogi <Phlogi@users.noreply.github.com>
This commit is contained in:
Claus Vium 2019-03-24 16:47:42 +01:00 committed by GitHub
parent 4ffec8ad26
commit f30af9cd5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1373,7 +1373,7 @@ namespace Emby.Server.Implementations
{
var localAddress = await GetLocalApiUrl(cancellationToken).ConfigureAwait(false);
if ( String.IsNullOrEmpty(ServerConfiguration.WanDdns) ){
if (string.IsNullOrEmpty(ServerConfiguration.WanDdns)){
var wanAddress = await GetWanApiUrl(cancellationToken).ConfigureAwait(false);
} else {
// Use the (dynmic) domain name set in the configuration if available instead of querying