diff options
| author | Mark Monteiro <marknr.monteiro@protonmail.com> | 2020-05-10 14:36:11 -0400 |
|---|---|---|
| committer | Mark Monteiro <marknr.monteiro@protonmail.com> | 2020-05-10 14:36:11 -0400 |
| commit | 43c22a58229892836df645031fb570f37994e19e (patch) | |
| tree | 78223ac23c1091245df8ac36db9ad486277ec20a /Emby.Server.Implementations/Browser | |
| parent | 15fd4812f09282e9b81f53845ce462f42ff1b5e9 (diff) | |
Add GetLoopbackHttpApiUrl() helper method to replace forceHttps functionality
Also refactor to use return a Uri instead of a string and use UriBuilder under the hood
Diffstat (limited to 'Emby.Server.Implementations/Browser')
| -rw-r--r-- | Emby.Server.Implementations/Browser/BrowserLauncher.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Browser/BrowserLauncher.cs b/Emby.Server.Implementations/Browser/BrowserLauncher.cs index 96096e142..ccb733b3c 100644 --- a/Emby.Server.Implementations/Browser/BrowserLauncher.cs +++ b/Emby.Server.Implementations/Browser/BrowserLauncher.cs @@ -36,7 +36,7 @@ namespace Emby.Server.Implementations.Browser { try { - string baseUrl = appHost.GetLocalApiUrl("localhost"); + Uri baseUrl = appHost.GetLocalApiUrl("localhost"); appHost.LaunchUrl(baseUrl + url); } catch (Exception ex) |
