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