From 79eebea7b11509f56d2032632b488ddfca44e29f Mon Sep 17 00:00:00 2001 From: Khwezi Mngoma Date: Mon, 15 Jun 2026 17:11:48 +0200 Subject: [PATCH] Removed UseHttpsRedirection --- MidrandBookshop/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MidrandBookshop/Program.cs b/MidrandBookshop/Program.cs index 9a1dac3..784f735 100644 --- a/MidrandBookshop/Program.cs +++ b/MidrandBookshop/Program.cs @@ -18,7 +18,7 @@ if (!app.Environment.IsDevelopment()) } app.UseForwardedHeaders(); -app.UseHttpsRedirection(); +//app.UseHttpsRedirection(); app.UseStatusCodePagesWithReExecute("/not-found", createScopeForStatusCodePages: true); app.UseHealthChecks("/health", new HealthCheckOptions