Skip to content

Commit fd0ec37

Browse files
Update Program.cs
1 parent 995d983 commit fd0ec37

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Program.cs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,10 @@
4747

4848
var app = builder.Build();
4949

50-
if (app.Environment.IsDevelopment())
51-
{
52-
app.UseSwagger();
53-
app.UseSwaggerUI();
54-
}
50+
51+
app.UseSwagger();
52+
app.UseSwaggerUI();
53+
5554

5655
if (enableAuth)
5756
{

0 commit comments

Comments
 (0)