Skip to content

Commit

Permalink
added room to CORS
Browse files Browse the repository at this point in the history
  • Loading branch information
KKonefeld authored Jun 7, 2024
1 parent 8d409f2 commit 9f85430
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public static void Main(string[] args)
options.AddPolicy(name: myAllowSpecificOrigins,
policy =>
{
policy.WithOrigins("http://*", "https://*", "https://planningpokerinf1337.vercel.app", "https://planningpokerinf1337.vercel.app/*", "https://planningpokerinf1337.vercel.app/rooms", "http://localhost:3000","https://localhost:3000")
policy.WithOrigins("http://*", "https://*", "https://planningpokerinf1337.vercel.app", "https://planningpokerinf1337.vercel.app/*", "https://planningpokerinf1337.vercel.app/rooms", "http://localhost:3000","https://localhost:3000", "https://planningpokerinf1337.vercel.app/room/*", "https://planningpokerinf1337.vercel.app/room")
.AllowAnyMethod()
.AllowAnyHeader()
.AllowCredentials();
Expand Down

0 comments on commit 9f85430

Please sign in to comment.