diff --git a/Knots/Program.cs b/Knots/Program.cs index a371943..36fb21a 100644 --- a/Knots/Program.cs +++ b/Knots/Program.cs @@ -18,7 +18,7 @@ builder.Services.AddCors(options => { options.AddDefaultPolicy(policyBuilder => { policyBuilder - .WithOrigins("http://localhost:5250") + .WithOrigins("http://localhost:5250", "http://localhost:4200") .WithMethods("GET", "POST", "PUT", "PATCH", "DELETE") .AllowAnyHeader(); });