UseSwagger

This commit is contained in:
Artemy
2025-07-01 21:27:04 +07:00
parent 2ce7b6e7f9
commit 21a377eff3
2 changed files with 6 additions and 5 deletions
+3 -2
View File
@@ -104,10 +104,11 @@ var app = builder.Build();
if (app.Environment.IsDevelopment())
{
//app.MapOpenApi();
app.UseSwagger();
app.UseSwaggerUI();
}
app.UseSwagger();
app.UseSwaggerUI();
app.UseCors("AllowFrontend");