aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Monteiro <marknr.monteiro@protonmail.com>2020-03-15 13:00:34 +0100
committerMark Monteiro <marknr.monteiro@protonmail.com>2020-03-15 13:00:34 +0100
commita9c1ff91193d8f645225ee9f7001370fe304ae8d (patch)
treee17a0c580e1abd14ed59d51f992ff35ef3173aba
parent4102e3afd0a9df29faea598769db2212a00d64ce (diff)
Remove unnecessary method in BrowserLauncher
-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>