aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaronGreenback <jimcartlidge@yahoo.co.uk>2021-03-08 11:43:59 +0000
committerGitHub <noreply@github.com>2021-03-08 11:43:59 +0000
commitd3390302f9c3d62bb9c878f52cf11f9f00438cb1 (patch)
tree86d88c21daef32925fd6e29d5d7d5f4309a82ffb
parent8836242559710cbe4577451c65f91133c3da4a79 (diff)
Update ApplicationHost.cs
-rw-r--r--Emby.Server.Implementations/ApplicationHost.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.cs
index 37047a4f7..49febdb96 100644
--- a/Emby.Server.Implementations/ApplicationHost.cs
+++ b/Emby.Server.Implementations/ApplicationHost.cs
@@ -43,6 +43,7 @@ using Emby.Server.Implementations.Serialization;
using Emby.Server.Implementations.Session;
using Emby.Server.Implementations.SyncPlay;
using Emby.Server.Implementations.TV;
+using Emby.Server.Implementations.Udp;
using Emby.Server.Implementations.Updates;
using Jellyfin.Api.Helpers;
using Jellyfin.Networking.Configuration;
@@ -233,7 +234,7 @@ namespace Emby.Server.Implementations
/// <summary>
/// Gets the value of the PublishedServerUrl setting.
/// </summary>
- public string PublishedServerUrl => _startupOptions.PublishedServerUrl ?? _startupConfig["PublishedServerUrl"];
+ public string PublishedServerUrl => _startupOptions.PublishedServerUrl ?? _startupConfig[UdpServer.AddressOverrideConfigKey];
/// <summary>
/// Gets the server configuration manager.