Open charleshenryhugo opened 3 years ago
I set Access-Control-Allow-Headers in apache conf as: Header set Access-Control-Allow-Headers "X-Requested-With"
Then set the same value in laravel-cors config: 'allowed_headers' => ['X-Requested-With']
Then requests will be CORS blocked.
What't the reason of this?
Either set them in Apache, or use this module. Not both.
I set Access-Control-Allow-Headers in apache conf as: Header set Access-Control-Allow-Headers "X-Requested-With"
Then set the same value in laravel-cors config: 'allowed_headers' => ['X-Requested-With']
Then requests will be CORS blocked.
What't the reason of this?