Skip to content

Commit

Permalink
updated cors
Browse files Browse the repository at this point in the history
  • Loading branch information
KrothuTheCoder committed Mar 14, 2024
1 parent ef02f53 commit 3e26554
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DoSomethingService/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
options.AddPolicy(name: myAllowSpecificOrigins,
policy =>
{
policy.WithOrigins("*");
policy.WithOrigins("*","http://localhost:3000");
});
});
builder.Services.AddControllers();
Expand Down

0 comments on commit 3e26554

Please sign in to comment.