Update Program.cs (#254)

pull/255/head
Rick Anderson 2024-04-25 11:35:14 -10:00 committed by GitHub
parent 8f54135db4
commit 766a623d23
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -10,11 +10,11 @@ builder.Services.AddAuthentication("Bearer").AddJwtBearer();
var app = builder.Build();
//if (app.Environment.IsDevelopment())
//{
if (app.Environment.IsDevelopment())
{
app.UseSwagger();
app.UseSwaggerUI();
//}
}
app.UseHttpsRedirection();