Skip to content

Commit

Permalink
re-add delete
Browse files Browse the repository at this point in the history
  • Loading branch information
cmyui committed Aug 8, 2024
1 parent 0127edf commit 979af2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sites-enabled/next.conf
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ server {
location ~ /api/v1/(authenticate|users/(\d+)) {
if ($request_method = OPTIONS) {
add_header 'Access-Control-Allow-Origin' $cors_allowed_origin always;
add_header 'Access-Control-Allow-Methods' 'GET, POST, PUT, PATCH, OPTIONS';
add_header 'Access-Control-Allow-Methods' 'GET, POST, PUT, PATCH, DELETE, OPTIONS';
add_header 'Access-Control-Allow-Headers' '*';
add_header 'Access-Control-Allow-Credentials' 'true';
return 200;
Expand Down

0 comments on commit 979af2b

Please sign in to comment.