Update barkmanAPI/Program.cs

Co-authored-by: Nix <3743825+NixFey@users.noreply.github.com>
This commit is contained in:
Drew Rautenberg
2025-01-15 20:48:57 -06:00
committed by GitHub
parent 49b348dd01
commit 88d583ee4f
+1 -1
View File
@@ -22,7 +22,7 @@ builder.Services.AddCors(options =>
}); });
var app = builder.Build(); var app = builder.Build();
if (! app.Environment.IsProduction()) if (!app.Environment.IsProduction())
{ {
app.UseSwagger(); app.UseSwagger();
app.UseSwaggerUI(c => app.UseSwaggerUI(c =>