Mise à jour de 'Verax_API_EF/Verax_API_EF/API/Program.cs'
continuous-integration/drone/push Build is passing Details

rebase
Tony Fages 1 year ago
parent 96ee1e295f
commit 1a7adcf6eb

@ -75,11 +75,15 @@ app.MapIdentityApi<IdentityUser>();
app.MapSwagger().RequireAuthorization(); app.MapSwagger().RequireAuthorization();
// Configure the HTTP request pipeline. // Configure the HTTP request pipeline.
/*
if (app.Environment.IsDevelopment()) if (app.Environment.IsDevelopment())
{ {
app.UseSwagger(); app.UseSwagger();
app.UseSwaggerUI(); app.UseSwaggerUI();
} }*/
app.UseSwagger();
app.UseSwaggerUI();
app.UseHttpsRedirection(); app.UseHttpsRedirection();
app.UseAuthorization(); app.UseAuthorization();

Loading…
Cancel
Save