Explorar o código

Update Emby.Server.Implementations/ApplicationHost.cs

Co-Authored-By: Phlogi <Phlogi@users.noreply.github.com>
Claus Vium %!s(int64=6) %!d(string=hai) anos
pai
achega
f30af9cd5f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Emby.Server.Implementations/ApplicationHost.cs

+ 1 - 1
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