Update Emby.Server.Implementations/ApplicationHost.cs

Co-Authored-By: Phlogi <Phlogi@users.noreply.github.com>
This commit is contained in:
Claus Vium 2019-03-25 10:18:04 +01:00 committed by GitHub
parent 89f2dfd78a
commit 3474568ce2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1372,7 +1372,7 @@ namespace Emby.Server.Implementations
public async Task<SystemInfo> GetSystemInfo(CancellationToken cancellationToken)
{
var localAddress = await GetLocalApiUrl(cancellationToken).ConfigureAwait(false);
var wanAddress = System.String.Empty;
var wanAddress = string.Empty;
if (string.IsNullOrEmpty(ServerConfigurationManager.Configuration.WanDdns)){
wanAddress = await GetWanApiUrl(cancellationToken).ConfigureAwait(false);