mirror of
https://github.com/BarkProductions/barkman.git
synced 2026-06-13 06:11:55 +00:00
Update barkmanAPI/Program.cs
Co-authored-by: Nix <3743825+NixFey@users.noreply.github.com>
This commit is contained in:
@@ -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 =>
|
||||||
|
|||||||
Reference in New Issue
Block a user