Update Emby.Server.Implementations/ApplicationHost.cs
Co-Authored-By: Phlogi <Phlogi@users.noreply.github.com>
This commit is contained in:
parent
89f2dfd78a
commit
3474568ce2
|
@ -1372,7 +1372,7 @@ namespace Emby.Server.Implementations
|
||||||
public async Task<SystemInfo> GetSystemInfo(CancellationToken cancellationToken)
|
public async Task<SystemInfo> GetSystemInfo(CancellationToken cancellationToken)
|
||||||
{
|
{
|
||||||
var localAddress = await GetLocalApiUrl(cancellationToken).ConfigureAwait(false);
|
var localAddress = await GetLocalApiUrl(cancellationToken).ConfigureAwait(false);
|
||||||
var wanAddress = System.String.Empty;
|
var wanAddress = string.Empty;
|
||||||
|
|
||||||
if (string.IsNullOrEmpty(ServerConfigurationManager.Configuration.WanDdns)){
|
if (string.IsNullOrEmpty(ServerConfigurationManager.Configuration.WanDdns)){
|
||||||
wanAddress = await GetWanApiUrl(cancellationToken).ConfigureAwait(false);
|
wanAddress = await GetWanApiUrl(cancellationToken).ConfigureAwait(false);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user