Skip to content

Commit 780c3c7

Browse files
authored
Fix CORS port number (#31)
1 parent 514e0a4 commit 780c3c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎TodoListAPI/Program.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
{
106106
app.UseCors(policy =>
107107
{
108-
policy.WithOrigins("http://localhost:4200").AllowAnyHeader().AllowAnyMethod().AllowCredentials();
108+
policy.WithOrigins("http://localhost:5000").AllowAnyHeader().AllowAnyMethod().AllowCredentials();
109109
});
110110
}
111111

0 commit comments

Comments
 (0)