Add Patch in API
All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Successful in 3m16s
All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Successful in 3m16s
This commit is contained in:
parent
50014b6765
commit
79fab01546
@ -150,11 +150,11 @@ builder.Services.AddEndpointsApiExplorer();
|
||||
|
||||
var app = builder.Build();
|
||||
|
||||
if (app.Environment.IsDevelopment())
|
||||
{
|
||||
//if (app.Environment.IsDevelopment())
|
||||
//{
|
||||
app.UseSwagger();
|
||||
app.UseSwaggerUI();
|
||||
}
|
||||
//}
|
||||
|
||||
app.UseCors("CORS");
|
||||
app.UseAuthentication();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user