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:17:53 +01:00 committed by GitHub
parent 2c4c56d6d6
commit 89f2dfd78a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1430,7 +1430,7 @@ namespace Emby.Server.Implementations
public async Task<PublicSystemInfo> GetPublicSystemInfo(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);