diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-01-17 14:30:23 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-01-17 14:30:23 -0500 |
| commit | a8da86d059c0a9ba724bfcf11166d1b32406ca89 (patch) | |
| tree | c6f45c97575ece03f36f3a653087fac334aec173 /MediaBrowser.Server.Startup.Common/Browser/BrowserLauncher.cs | |
| parent | 5f3c2f68b0a956ce28b8e48bf8fd20c89e44f5d9 (diff) | |
support api without /mediabrowser
Diffstat (limited to 'MediaBrowser.Server.Startup.Common/Browser/BrowserLauncher.cs')
| -rw-r--r-- | MediaBrowser.Server.Startup.Common/Browser/BrowserLauncher.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/MediaBrowser.Server.Startup.Common/Browser/BrowserLauncher.cs b/MediaBrowser.Server.Startup.Common/Browser/BrowserLauncher.cs index 97f6b89d7..bb78cc02f 100644 --- a/MediaBrowser.Server.Startup.Common/Browser/BrowserLauncher.cs +++ b/MediaBrowser.Server.Startup.Common/Browser/BrowserLauncher.cs @@ -18,8 +18,7 @@ namespace MediaBrowser.Server.Startup.Common.Browser /// <param name="logger">The logger.</param> public static void OpenDashboardPage(string page, IServerApplicationHost appHost, ILogger logger) { - var url = "http://localhost:" + appHost.HttpServerPort + "/" + - appHost.WebApplicationName + "/web/" + page; + var url = "http://localhost:" + appHost.HttpServerPort + "/web/" + page; OpenUrl(url, logger); } @@ -69,8 +68,7 @@ namespace MediaBrowser.Server.Startup.Common.Browser /// <param name="logger">The logger.</param> public static void OpenSwagger(IServerApplicationHost appHost, ILogger logger) { - OpenUrl("http://localhost:" + appHost.HttpServerPort + "/" + - appHost.WebApplicationName + "/swagger-ui/index.html", logger); + OpenUrl("http://localhost:" + appHost.HttpServerPort + "/swagger-ui/index.html", logger); } /// <summary> |
