From 9f854303a1a85fbb61cbe5421046674b78995953 Mon Sep 17 00:00:00 2001 From: Mirusek <54834569+KKonefeld@users.noreply.github.com> Date: Fri, 7 Jun 2024 17:21:48 +0200 Subject: [PATCH] added room to CORS --- backend/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/Program.cs b/backend/Program.cs index bbbec4f..91c4986 100644 --- a/backend/Program.cs +++ b/backend/Program.cs @@ -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();