Compare commits

...

2 Commits

Author SHA1 Message Date
khwezi e21fd59b12 Merge pull request 'Removed https failsafe' (#92) from cart into main
Reviewed-on: #92
2026-06-15 22:54:33 +02:00
Khwezi Mngoma fcc0b3845e Removed https failsafe
continuous-integration/drone/pr Build is passing
2026-06-15 22:53:55 +02:00
-7
View File
@@ -27,13 +27,6 @@ app.UseHealthChecks("/health", new HealthCheckOptions
});
app.MapStaticAssets();
app.Use((context, next) =>
{
if (context.Request.Host.Value!.Contains("midrandbooks.co.za", StringComparison.OrdinalIgnoreCase))
context.Request.Scheme = "https";
return next();
});
app.UseCookiePolicy();
app.UseAuthentication();