Skip to content

Commit

Permalink
Remove limitation on Employees CORS
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnwildermuth committed Mar 6, 2024
1 parent 4796889 commit 4e1bf85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Apis/EmployeesApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class EmployeesApi : IApi
public void Register(IEndpointRouteBuilder builder)
{
var group = builder.MapGroup("/api/employees")
.RequireCors("Prevent")
//.RequireCors("Prevent")
.AddFluentValidationAutoValidation()
.WithMetadata(
new SwaggerOperationAttribute(
Expand Down

0 comments on commit 4e1bf85

Please sign in to comment.