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();
|
mainApp.UseCors();
|
||||||
|
|
||||||
if (_serverConfigurationManager.Configuration.RequireHttps
|
if (_serverConfigurationManager.GetNetworkConfiguration().RequireHttps
|
||||||
&& _serverApplicationHost.ListenWithHttps)
|
&& _serverApplicationHost.ListenWithHttps)
|
||||||
{
|
{
|
||||||
mainApp.UseHttpsRedirection();
|
mainApp.UseHttpsRedirection();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user