change swagger
This commit is contained in:
parent
a599fc1650
commit
0eeebb753a
@ -81,11 +81,8 @@ app.UseStaticFiles(new StaticFileOptions
|
||||
});
|
||||
|
||||
// Configure the HTTP request pipeline.
|
||||
if (app.Environment.IsDevelopment())
|
||||
{
|
||||
app.UseSwagger();
|
||||
app.UseSwaggerUI();
|
||||
}
|
||||
app.UseSwagger();
|
||||
app.UseSwaggerUI();
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user