diff --git a/src/backend/server/src/Todo.Api/Startup.cs b/src/backend/server/src/Todo.Api/Startup.cs index 112cc28..37a8ebb 100644 --- a/src/backend/server/src/Todo.Api/Startup.cs +++ b/src/backend/server/src/Todo.Api/Startup.cs @@ -26,7 +26,7 @@ namespace Todo.Api services.AddCors(options => { options.AddDefaultPolicy(builder => - builder.WithOrigins("http://localhost:3000") + builder.WithOrigins("http://localhost:3000", "https://todo.front.kjuulh.io") .AllowCredentials() .AllowAnyHeader() .AllowAnyMethod()); @@ -65,4 +65,4 @@ namespace Todo.Api }); } } -} \ No newline at end of file +}