Skip to content

Commit

Permalink
whitelist cors header
Browse files Browse the repository at this point in the history
  • Loading branch information
guanzo committed Jul 13, 2023
1 parent 5262e7c commit 21a8275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion container/nginx/conf.d/shared.conf
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ location / {
add_header 'Timing-Allow-Origin' '*' always;
add_header 'Access-Control-Allow-Origin' '*' always;
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS' always;
add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range' always;
add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Traceparent' always;
add_header 'Access-Control-Expose-Headers' '*' always;
add_header 'Access-Control-Max-Age' 1728000 always;
add_header 'Content-Type' 'text/plain; charset=utf-8';
Expand Down

0 comments on commit 21a8275

Please sign in to comment.