aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/ApplicationHost.cs
diff options
context:
space:
mode:
authorBaronGreenback <jimcartlidge@yahoo.co.uk>2021-02-28 10:12:14 +0000
committerBaronGreenback <jimcartlidge@yahoo.co.uk>2021-02-28 10:12:14 +0000
commit80ca3da55c7d8ec9cf06a619fc895c1e427c45ff (patch)
tree95f5ddce05f6ede680b815cfe5dbf413ce6fb352 /Emby.Server.Implementations/ApplicationHost.cs
parent1d6f489f17919e557987b2616048dc8def790f43 (diff)
parentf8c9c37c29efa6d42b79d6db3aa8a69a60106765 (diff)
Merge remote-tracking branch 'upstream/master' into FixFor5280Part2
Diffstat (limited to 'Emby.Server.Implementations/ApplicationHost.cs')
-rw-r--r--Emby.Server.Implementations/ApplicationHost.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.cs
index 7740b4fc5..6880b1842 100644
--- a/Emby.Server.Implementations/ApplicationHost.cs
+++ b/Emby.Server.Implementations/ApplicationHost.cs
@@ -137,6 +137,9 @@ namespace Emby.Server.Implementations
public bool CoreStartupHasCompleted { get; private set; }
+ /// <inheritdoc />
+ public Uri PublishedServerUrl => _startupOptions.PublishedServerUrl;
+
public virtual bool CanLaunchWebBrowser
{
get
@@ -384,7 +387,7 @@ namespace Emby.Server.Implementations
/// <summary>
/// Creates an instance of type and resolves all constructor dependencies.
/// </summary>
- /// /// <typeparam name="T">The type.</typeparam>
+ /// <typeparam name="T">The type.</typeparam>
/// <returns>T.</returns>
public T CreateInstance<T>()
=> ActivatorUtilities.CreateInstance<T>(ServiceProvider);