Skip to content

Commit

Permalink
setup cors for new domain
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-scales committed Apr 13, 2024
1 parent 78a6d5a commit 914a314
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FU.API/FU.API/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ private static void ConfigureApp(in WebApplication app)
}

app.UseCors(x => x
.WithOrigins("http://localhost:5173", "https://jolly-glacier-0ae92c40f.4.azurestaticapps.net")
.WithOrigins("http://localhost:5173", "https://jolly-glacier-0ae92c40f.4.azurestaticapps.net", "https://www.forces-unite.com")
.AllowAnyMethod()
.AllowAnyHeader()
.AllowCredentials()
Expand Down

0 comments on commit 914a314

Please sign in to comment.