Skip to content

Commit

Permalink
ci: fix nginx config
Browse files Browse the repository at this point in the history
  • Loading branch information
JustSamuel committed Sep 6, 2024
1 parent 9c04c24 commit d226357
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nginx/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ server {
location /api/ {
if ($request_method = 'OPTIONS') {
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Allow-Methods' 'GET, HEAD, POST, OPTIONS';
add_header 'Access-Control-Allow-Methods' 'GET, HEAD, POST, OPTIONS, PATCH';
add_header 'Access-Control-Allow-Headers' '*';
add_header 'Access-Control-Expose-Headers' '*';
add_header 'Access-Control-Max-Age' 1728000;
Expand Down

0 comments on commit d226357

Please sign in to comment.