forked from CyberBloom/CyberBloomBackend
change swagger
This commit is contained in:
1 parent
a599fc1650
commit
0eeebb753a
1 file changed
+2
-5
@@ -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();
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user