Skip to content

Commit

Permalink
updated CORS policy
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedtahami committed Jun 24, 2024
1 parent a073fbd commit 1b22de9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions TruSec.Backend/TruSec.Backend/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
{
options.AddPolicy("CORSPolicy",
builder => builder
.AllowAnyOrigin()
.AllowAnyMethod()
.AllowAnyHeader()
.AllowCredentials()
Expand Down

0 comments on commit 1b22de9

Please sign in to comment.