Skip to content

Commit

Permalink
fix cors
Browse files Browse the repository at this point in the history
  • Loading branch information
PHAN Xuan Quang committed Oct 22, 2024
1 parent 5eb3f3c commit 1ca23ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EngAce.Api/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
{
options.AddDefaultPolicy(policyBuilder =>
{
policyBuilder.WithOrigins("https://engace-app.azurewebsites.net", "https://engace.vercel.app")
policyBuilder.AllowAnyOrigin()
.AllowAnyHeader()
.AllowAnyMethod();
});
Expand Down

0 comments on commit 1ca23ea

Please sign in to comment.