Skip to content

Commit

Permalink
refactor: removed cors
Browse files Browse the repository at this point in the history
  • Loading branch information
NexusrexDev committed May 5, 2024
1 parent 1c70a4b commit f041bcb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,4 @@

app.MapControllers();

app.UseCors(x => x.AllowAnyOrigin().AllowAnyMethod().AllowAnyHeader());

await app.RunAsync();

0 comments on commit f041bcb

Please sign in to comment.