Fix CORS
This commit is contained in:
parent
08001fd684
commit
878f77766f
@ -36,7 +36,7 @@ builder.Services.AddCors(options =>
|
||||
options.AddPolicy(name: corsHeader,
|
||||
policy =>
|
||||
{
|
||||
policy.WithOrigins("*");
|
||||
policy.AllowAnyOrigin();
|
||||
policy.WithMethods("GET", "POST", "DELETE");
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user