Access-Control-Allow-Methods
This commit is contained in:
parent
a966bd788d
commit
39fa905733
@ -36,6 +36,7 @@ builder.Services.AddCors(options =>
|
||||
policy =>
|
||||
{
|
||||
policy.WithOrigins("http://localhost", "http://127.0.0.1", "http://localhost:63342");
|
||||
policy.WithMethods("GET", "POST", "DELETE");
|
||||
});
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user