diff options
| -rw-r--r-- | server/src/Program.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/Program.cs b/server/src/Program.cs index 050f504..40ef1b0 100644 --- a/server/src/Program.cs +++ b/server/src/Program.cs @@ -191,7 +191,7 @@ public static class Program app.UseCors(cors => { cors.AllowAnyMethod(); cors.AllowAnyHeader(); - cors.WithOrigins("http://localhost:3000", "http://localhost:3002", "http://localhost:3001", "http://localhost:5173"); + cors.SetIsOriginAllowed((origin) => true); cors.AllowCredentials(); }); } |
