mirror of
				https://github.com/weiss/ngx_http_upload.git
				synced 2025-10-31 09:22:30 +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 = ( | my %custom_headers = ( | ||||||
|     'Access-Control-Allow-Origin' => '*', |     'Access-Control-Allow-Origin' => '*', | ||||||
|     'Access-Control-Allow-Methods' => 'OPTIONS, HEAD, GET, PUT', |     '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', |     'Access-Control-Allow-Credentials' => 'true', | ||||||
| ); | ); | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user