diff options
| author | dkanada <dkanada@users.noreply.github.com> | 2020-01-06 15:05:11 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-06 15:05:11 +0900 |
| commit | e5c68834a381b8d0d088aa30b791c6f3886d754c (patch) | |
| tree | 273782bac1f95872739736545beee5db9a653cb9 /MediaBrowser.Controller/IServerApplicationHost.cs | |
| parent | f48269a31995f27f959c20ed1e383f1b2a1ea6fe (diff) | |
| parent | 599432890311c9255cb376bbeb6f5f4f673fbf1b (diff) | |
Merge pull request #2221 from Bond-009/baseurlfix
Fix baseurl (again)
Diffstat (limited to 'MediaBrowser.Controller/IServerApplicationHost.cs')
| -rw-r--r-- | MediaBrowser.Controller/IServerApplicationHost.cs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/MediaBrowser.Controller/IServerApplicationHost.cs b/MediaBrowser.Controller/IServerApplicationHost.cs index b3c56bdd5..25f0905eb 100644 --- a/MediaBrowser.Controller/IServerApplicationHost.cs +++ b/MediaBrowser.Controller/IServerApplicationHost.cs @@ -71,13 +71,15 @@ namespace MediaBrowser.Controller /// <summary> /// Gets the local API URL. /// </summary> - /// <param name="host">The host.</param> - /// <returns>System.String.</returns> - string GetLocalApiUrl(string host); + /// <param name="hostname">The hostname.</param> + /// <returns>The local API URL.</returns> + string GetLocalApiUrl(ReadOnlySpan<char> hostname); /// <summary> /// Gets the local API URL. /// </summary> + /// <param name="address">The IP address.</param> + /// <returns>The local API URL.</returns> string GetLocalApiUrl(IPAddress address); void LaunchUrl(string url); |
