mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-05 21:37:10 -04:00
Merge pull request #4544 from BaronGreenback/MinorFix
[Fix] Config option read from wrong place.
This commit is contained in:
commit
8ec4dda9d1
@ -122,7 +122,7 @@ namespace Jellyfin.Server
|
||||
|
||||
mainApp.UseCors();
|
||||
|
||||
if (_serverConfigurationManager.Configuration.RequireHttps
|
||||
if (_serverConfigurationManager.GetNetworkConfiguration().RequireHttps
|
||||
&& _serverApplicationHost.ListenWithHttps)
|
||||
{
|
||||
mainApp.UseHttpsRedirection();
|
||||
|
Loading…
Reference in New Issue
Block a user