diff options
| author | Bond-009 <bond.009@outlook.com> | 2020-05-03 19:36:42 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-03 19:36:42 +0200 |
| commit | f2bace2a07a1ac222cb3512e1204a0bdaca9cd37 (patch) | |
| tree | 494243c09545c75a24a9deeafc6c72889ba8bbf4 /Emby.Server.Implementations/Browser/BrowserLauncher.cs | |
| parent | b1a2fb60f25a90f6870d65bc7b8ea8dc58e1f40d (diff) | |
| parent | 806ae1bc07e715c6109a3e8ec96c6d3dd6a802ef (diff) | |
Merge pull request #2925 from crobibero/redoc
Enhance Swagger Generation
Diffstat (limited to 'Emby.Server.Implementations/Browser/BrowserLauncher.cs')
| -rw-r--r-- | Emby.Server.Implementations/Browser/BrowserLauncher.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Browser/BrowserLauncher.cs b/Emby.Server.Implementations/Browser/BrowserLauncher.cs index 96096e142..e706401fd 100644 --- a/Emby.Server.Implementations/Browser/BrowserLauncher.cs +++ b/Emby.Server.Implementations/Browser/BrowserLauncher.cs @@ -1,5 +1,7 @@ using System; using MediaBrowser.Controller; +using MediaBrowser.Controller.Configuration; +using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; namespace Emby.Server.Implementations.Browser @@ -24,7 +26,7 @@ namespace Emby.Server.Implementations.Browser /// <param name="appHost">The app host.</param> public static void OpenSwaggerPage(IServerApplicationHost appHost) { - TryOpenUrl(appHost, "/swagger/index.html"); + TryOpenUrl(appHost, "/api-docs/swagger"); } /// <summary> |
