Code patch (#24639)
parent
0be7f334d4
commit
12b932e203
|
@ -4,7 +4,7 @@ var builder = WebApplication.CreateBuilder(args);
|
|||
|
||||
builder.Services.AddRazorPages();
|
||||
|
||||
if (builder.Environment.IsDevelopment())
|
||||
if (!builder.Environment.IsDevelopment())
|
||||
{
|
||||
builder.Services.AddHttpsRedirection(options =>
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue