diff --git a/TodoListAPI/Program.cs b/TodoListAPI/Program.cs index 0e5e132..59229c8 100644 --- a/TodoListAPI/Program.cs +++ b/TodoListAPI/Program.cs @@ -105,7 +105,7 @@ { app.UseCors(policy => { - policy.WithOrigins("http://localhost:4200").AllowAnyHeader().AllowAnyMethod().AllowCredentials(); + policy.WithOrigins("http://localhost:5000").AllowAnyHeader().AllowAnyMethod().AllowCredentials(); }); }