mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-10-23 17:22:51 +00:00
Merge pull request #4544 from BaronGreenback/MinorFix
[Fix] Config option read from wrong place.
This commit is contained in:
commit
8ec4dda9d1
1 changed files with 1 additions and 1 deletions
|
|
@ -122,7 +122,7 @@ namespace Jellyfin.Server
|
|||
|
||||
mainApp.UseCors();
|
||||
|
||||
if (_serverConfigurationManager.Configuration.RequireHttps
|
||||
if (_serverConfigurationManager.GetNetworkConfiguration().RequireHttps
|
||||
&& _serverApplicationHost.ListenWithHttps)
|
||||
{
|
||||
mainApp.UseHttpsRedirection();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue