Skip to content

Commit

Permalink
Add site to CORS
Browse files Browse the repository at this point in the history
  • Loading branch information
meghanmae committed May 29, 2024
1 parent 128d2c5 commit 59a4c1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Wordle.Api/Wordle.Api/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
{
options.AddPolicy(name: AllOrigins, policy =>
{
policy.WithOrigins("http://localhost:3000");
policy.WithOrigins("http://localhost:3000, https://orange-forest-0eb1d671e.5.azurestaticapps.net");
policy.AllowAnyMethod();
policy.AllowAnyHeader();
policy.AllowCredentials();
Expand Down

0 comments on commit 59a4c1e

Please sign in to comment.