Skip to content

Commit 7da3555

Browse files
committed
Allowed method changed to POST.
1 parent 16ce1b3 commit 7da3555

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/Discapp.API/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
options.AddPolicy("DefaultPolicy", builder =>
3333
{
3434
builder.WithOrigins(origins)
35-
.AllowAnyMethod()
35+
.WithMethods("POST")
3636
.AllowAnyHeader();
3737
});
3838
});

0 commit comments

Comments
 (0)