aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/Program.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2020-05-03 19:36:42 +0200
committerGitHub <noreply@github.com>2020-05-03 19:36:42 +0200
commitf2bace2a07a1ac222cb3512e1204a0bdaca9cd37 (patch)
tree494243c09545c75a24a9deeafc6c72889ba8bbf4 /Jellyfin.Server/Program.cs
parentb1a2fb60f25a90f6870d65bc7b8ea8dc58e1f40d (diff)
parent806ae1bc07e715c6109a3e8ec96c6d3dd6a802ef (diff)
Merge pull request #2925 from crobibero/redoc
Enhance Swagger Generation
Diffstat (limited to 'Jellyfin.Server/Program.cs')
-rw-r--r--Jellyfin.Server/Program.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Server/Program.cs b/Jellyfin.Server/Program.cs
index e55b0d4ed..713580080 100644
--- a/Jellyfin.Server/Program.cs
+++ b/Jellyfin.Server/Program.cs
@@ -529,7 +529,7 @@ namespace Jellyfin.Server
var inMemoryDefaultConfig = ConfigurationOptions.DefaultConfiguration;
if (startupConfig != null && !startupConfig.HostWebClient())
{
- inMemoryDefaultConfig[HttpListenerHost.DefaultRedirectKey] = "swagger/index.html";
+ inMemoryDefaultConfig[HttpListenerHost.DefaultRedirectKey] = "api-docs/swagger";
}
return config