diff options
| author | Mark Monteiro <marknr.monteiro@protonmail.com> | 2020-03-21 18:25:09 +0100 |
|---|---|---|
| committer | Mark Monteiro <marknr.monteiro@protonmail.com> | 2020-03-21 18:25:09 +0100 |
| commit | aa546dd36abb688cb3a5d10e589521ebf79ef610 (patch) | |
| tree | c59d8121947172b7269d7bd289ce4e331388b641 /Jellyfin.Server/Program.cs | |
| parent | 1a63c3f3644f8144ac7761724476891f4dc1d2cd (diff) | |
Rename command line option to --nowebclient and config setting to HostWebClient
Diffstat (limited to 'Jellyfin.Server/Program.cs')
| -rw-r--r-- | Jellyfin.Server/Program.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Jellyfin.Server/Program.cs b/Jellyfin.Server/Program.cs index 67251eb24..d9ca14136 100644 --- a/Jellyfin.Server/Program.cs +++ b/Jellyfin.Server/Program.cs @@ -490,9 +490,9 @@ namespace Jellyfin.Server IApplicationPaths appPaths, IConfiguration? startupConfig = null) { - // Use the swagger API page as the default redirect path if not hosting the jellyfin-web content + // Use the swagger API page as the default redirect path if not hosting the web client var inMemoryDefaultConfig = ConfigurationOptions.DefaultConfiguration; - if (startupConfig != null && startupConfig.NoWebContent()) + if (startupConfig != null && !startupConfig.HostWebClient()) { inMemoryDefaultConfig[HttpListenerHost.DefaultRedirectKey] = "swagger/index.html"; } |
