aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Browser/BrowserLauncher.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Emby.Server.Implementations/Browser/BrowserLauncher.cs')
-rw-r--r--Emby.Server.Implementations/Browser/BrowserLauncher.cs15
1 files changed, 2 insertions, 13 deletions
diff --git a/Emby.Server.Implementations/Browser/BrowserLauncher.cs b/Emby.Server.Implementations/Browser/BrowserLauncher.cs
index b17c2b270..752650ae1 100644
--- a/Emby.Server.Implementations/Browser/BrowserLauncher.cs
+++ b/Emby.Server.Implementations/Browser/BrowserLauncher.cs
@@ -9,24 +9,13 @@ namespace Emby.Server.Implementations.Browser
public static class BrowserLauncher
{
/// <summary>
- /// Opens the dashboard page.
- /// </summary>
- /// <param name="page">The page.</param>
- /// <param name="appHost">The app host.</param>
- private static void OpenDashboardPage(string page, IServerApplicationHost appHost)
- {
- var url = appHost.GetLocalApiUrl("localhost") + "/web/" + page;
-
- OpenUrl(appHost, url);
- }
-
- /// <summary>
/// Opens the web client.
/// </summary>
/// <param name="appHost">The app host.</param>
public static void OpenWebApp(IServerApplicationHost appHost)
{
- OpenDashboardPage("index.html", appHost);
+ var url = appHost.GetLocalApiUrl("localhost") + "/web/index.html";
+ OpenUrl(appHost, url);
}
/// <summary>