This commit is contained in:
glax 2023-05-24 22:56:10 +02:00
parent 08001fd684
commit 878f77766f

View File

@ -36,7 +36,7 @@ builder.Services.AddCors(options =>
options.AddPolicy(name: corsHeader,
policy =>
{
policy.WithOrigins("*");
policy.AllowAnyOrigin();
policy.WithMethods("GET", "POST", "DELETE");
});
});