skipping https redirect for production

This commit is contained in:
andy 2022-02-26 21:50:49 +00:00
parent a9a41e5b8a
commit 64b7105514

View File

@ -129,7 +129,7 @@ namespace Selector.Web
else else
{ {
app.UseExceptionHandler("/Error"); app.UseExceptionHandler("/Error");
app.UseHttpsRedirection(); // app.UseHttpsRedirection();
// The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts. // The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts.
//app.UseHsts(); //app.UseHsts();
} }