Access-Control-Allow-Methods

This commit is contained in:
glax 2023-05-23 18:11:18 +02:00
parent a966bd788d
commit 39fa905733

View File

@ -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");
});
});