Basic foncitonnalité de POST et DELETE pour Product

This commit is contained in:
Victor Turgeon
2022-10-18 11:50:06 -04:00
parent dc71afe986
commit eef167917a
4 changed files with 55 additions and 106 deletions

View File

@@ -10,7 +10,8 @@ builder.Services.AddCors(options => {
policy => {
policy.WithOrigins("http://localhost:3000",
"http://localhost:3001")
.AllowAnyMethod();
.AllowAnyMethod()
.AllowAnyHeader();
});
});