mirror of
https://github.com/C9Glax/tranga-website.git
synced 2025-02-07 04:00:31 +01:00
Fix CORS
This commit is contained in:
parent
08001fd684
commit
878f77766f
@ -36,7 +36,7 @@ builder.Services.AddCors(options =>
|
|||||||
options.AddPolicy(name: corsHeader,
|
options.AddPolicy(name: corsHeader,
|
||||||
policy =>
|
policy =>
|
||||||
{
|
{
|
||||||
policy.WithOrigins("*");
|
policy.AllowAnyOrigin();
|
||||||
policy.WithMethods("GET", "POST", "DELETE");
|
policy.WithMethods("GET", "POST", "DELETE");
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user