From a34fca6f8e4ded6c36495f2937c80baee15e09c3 Mon Sep 17 00:00:00 2001 From: BaronGreenback Date: Sun, 22 Nov 2020 11:40:50 +0000 Subject: [PATCH 1/2] Update Startup.cs --- Jellyfin.Server/Startup.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jellyfin.Server/Startup.cs b/Jellyfin.Server/Startup.cs index a615e9aeb9..8ddfdc1c85 100644 --- a/Jellyfin.Server/Startup.cs +++ b/Jellyfin.Server/Startup.cs @@ -4,6 +4,7 @@ using Jellyfin.Networking.Configuration; using Jellyfin.Server.Extensions; using Jellyfin.Server.Implementations; using Jellyfin.Server.Middleware; +using Jellyfin.Server.Networking; using MediaBrowser.Common.Net; using MediaBrowser.Controller; using MediaBrowser.Controller.Configuration; @@ -122,7 +123,7 @@ namespace Jellyfin.Server mainApp.UseCors(); - if (_serverConfigurationManager.Configuration.RequireHttps + if (_serverConfigurationManager.GetNetworkConfiguration().RequireHttps && _serverApplicationHost.ListenWithHttps) { mainApp.UseHttpsRedirection(); From dfee591c2aff3174ef8eb3a664c065dd475a119f Mon Sep 17 00:00:00 2001 From: BaronGreenback Date: Sun, 22 Nov 2020 12:06:39 +0000 Subject: [PATCH 2/2] Update Startup.cs Late night --- Jellyfin.Server/Startup.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/Jellyfin.Server/Startup.cs b/Jellyfin.Server/Startup.cs index 8ddfdc1c85..4ffcb940ff 100644 --- a/Jellyfin.Server/Startup.cs +++ b/Jellyfin.Server/Startup.cs @@ -4,7 +4,6 @@ using Jellyfin.Networking.Configuration; using Jellyfin.Server.Extensions; using Jellyfin.Server.Implementations; using Jellyfin.Server.Middleware; -using Jellyfin.Server.Networking; using MediaBrowser.Common.Net; using MediaBrowser.Controller; using MediaBrowser.Controller.Configuration;