Code patch (#24639)

pull/24621/head
Luke Latham 2022-01-17 07:36:29 -06:00 committed by GitHub
parent 0be7f334d4
commit 12b932e203
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ var builder = WebApplication.CreateBuilder(args);
builder.Services.AddRazorPages();
if (builder.Environment.IsDevelopment())
if (!builder.Environment.IsDevelopment())
{
builder.Services.AddHttpsRedirection(options =>
{