Basic foncitonnalité de POST et DELETE pour Product
This commit is contained in:
@@ -10,7 +10,8 @@ builder.Services.AddCors(options => {
|
||||
policy => {
|
||||
policy.WithOrigins("http://localhost:3000",
|
||||
"http://localhost:3001")
|
||||
.AllowAnyMethod();
|
||||
.AllowAnyMethod()
|
||||
.AllowAnyHeader();
|
||||
});
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user