mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-22 05:30:46 +02:00
Update Emby.Server.Implementations/ApplicationHost.cs
Co-Authored-By: Phlogi <Phlogi@users.noreply.github.com>
This commit is contained in:
parent
2c4c56d6d6
commit
89f2dfd78a
|
@ -1430,7 +1430,7 @@ namespace Emby.Server.Implementations
|
||||||
public async Task<PublicSystemInfo> GetPublicSystemInfo(CancellationToken cancellationToken)
|
public async Task<PublicSystemInfo> GetPublicSystemInfo(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 a new issue