The Free Software Media System - Server Backend & API
Update Emby.Server.Implementations/ApplicationHost.cs
Claus Viumf30af9cd5f48
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.csindex 1ea9c599b0..1ecbeedad7 100644--- a/Emby.Server.Implementations/ApplicationHost.cs+++ b/Emby.Server.Implementations/ApplicationHost.cs@@ -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