mirror of
https://github.com/weiss/ngx_http_upload.git
synced 2025-07-01 10:19:40 +00:00
Add "Content-Type" to Access-Control-Allow-Headers
This commit is contained in:
parent
e8be732de6
commit
41ce1b351f
@ -26,7 +26,7 @@ my $dir_mode = 0750;
|
||||
my %custom_headers = (
|
||||
'Access-Control-Allow-Origin' => '*',
|
||||
'Access-Control-Allow-Methods' => 'OPTIONS, HEAD, GET, PUT',
|
||||
'Access-Control-Allow-Headers' => 'Authorization',
|
||||
'Access-Control-Allow-Headers' => 'Authorization, Content-Type',
|
||||
'Access-Control-Allow-Credentials' => 'true',
|
||||
);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user