Skip to content

Commit

Permalink
Add POST
Browse files Browse the repository at this point in the history
  • Loading branch information
j-a-n authored Feb 19, 2025
1 parent ddbea79 commit d91425a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/media-sources.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ if ($request_method = 'OPTIONS') {
add_header 'Content-Length' 0;
return 204;
}
if ($request_method = 'GET') {
if ($request_method ~* '(GET|POST)') {
add_header 'Access-Control-Allow-Origin' '*' always;
add_header 'Access-Control-Allow-Methods' 'GET, POST, PUT, DELETE, OPTIONS' always;
add_header 'Access-Control-Allow-Headers' 'X-Api-Key, User-Agent, Content-Type' always;
Expand Down

0 comments on commit d91425a

Please sign in to comment.