diff --git a/CyberBoom/Program.cs b/CyberBoom/Program.cs index 852ae0a..952ad5e 100644 --- a/CyberBoom/Program.cs +++ b/CyberBoom/Program.cs @@ -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();