diff options
| author | Claus Vium <cvium@users.noreply.github.com> | 2021-11-09 19:53:21 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-09 19:53:21 +0100 |
| commit | c3523e7cf7cd04a3a6ee146562a23d6491f272ff (patch) | |
| tree | b0171bbbce502bfd6f769b0f47c18a9b8018b6be /MediaBrowser.Controller/IServerApplicationHost.cs | |
| parent | c50c9c3dbfcd61fd9a3a5aa682f446e0a395ac56 (diff) | |
| parent | 1c47211a9eacff0b7a2fafe80c39a9650e17a357 (diff) | |
Merge pull request #5905 from BaronGreenback/TVFix
Fix for Livetv and DLNA when bind interfaces specified.
Diffstat (limited to 'MediaBrowser.Controller/IServerApplicationHost.cs')
| -rw-r--r-- | MediaBrowser.Controller/IServerApplicationHost.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/MediaBrowser.Controller/IServerApplicationHost.cs b/MediaBrowser.Controller/IServerApplicationHost.cs index 7e5e742f5..7da492af3 100644 --- a/MediaBrowser.Controller/IServerApplicationHost.cs +++ b/MediaBrowser.Controller/IServerApplicationHost.cs @@ -81,11 +81,11 @@ namespace MediaBrowser.Controller string GetSmartApiUrl(string hostname, int? port = null); /// <summary> - /// Gets a localhost URL that can be used to access the API using the loop-back IP address. - /// over HTTP (not HTTPS). + /// Gets an URL that can be used to access the API over LAN. /// </summary> + /// <param name="allowHttps">A value indicating whether to allow HTTPS.</param> /// <returns>The API URL.</returns> - string GetLoopbackHttpApiUrl(); + string GetApiUrlForLocalAccess(bool allowHttps = true); /// <summary> /// Gets a local (LAN) URL that can be used to access the API. |
