diff options
| author | Jason Dove <jason@jasondove.me> | 2022-07-30 08:01:48 -0500 |
|---|---|---|
| committer | Jason Dove <jason@jasondove.me> | 2022-07-30 08:01:48 -0500 |
| commit | e52f1b52c1ca4d0b3dc5566c72c3731a22aa4907 (patch) | |
| tree | 24d0d7a766275310931f6ddfc621a3a79738018f /MediaBrowser.Controller/IServerApplicationHost.cs | |
| parent | fc74c8eecf5bf0023ea59918260a4cdbe9ce787c (diff) | |
| parent | ce1356b2f2009c246b47cbb27cd886a5025a1ba2 (diff) | |
Merge branch 'master' into api-key-items-without-user-id
Diffstat (limited to 'MediaBrowser.Controller/IServerApplicationHost.cs')
| -rw-r--r-- | MediaBrowser.Controller/IServerApplicationHost.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/IServerApplicationHost.cs b/MediaBrowser.Controller/IServerApplicationHost.cs index 75ec5f213..11afdc4ae 100644 --- a/MediaBrowser.Controller/IServerApplicationHost.cs +++ b/MediaBrowser.Controller/IServerApplicationHost.cs @@ -4,6 +4,7 @@ using System.Net; using MediaBrowser.Common; +using MediaBrowser.Common.Net; using MediaBrowser.Model.System; using Microsoft.AspNetCore.Http; @@ -74,9 +75,10 @@ namespace MediaBrowser.Controller /// <summary> /// Gets an URL that can be used to access the API over LAN. /// </summary> + /// <param name="hostname">An optional hostname to use.</param> /// <param name="allowHttps">A value indicating whether to allow HTTPS.</param> /// <returns>The API URL.</returns> - string GetApiUrlForLocalAccess(bool allowHttps = true); + string GetApiUrlForLocalAccess(IPObject hostname = null, bool allowHttps = true); /// <summary> /// Gets a local (LAN) URL that can be used to access the API. |
