Skip to content

Commit

Permalink
Close #16
Browse files Browse the repository at this point in the history
  • Loading branch information
neomerx committed Apr 23, 2016
1 parent 199fafe commit d77c751
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions config/cors-illuminate.php
Expand Up @@ -101,4 +101,20 @@
*/
S::KEY_PRE_FLIGHT_MAX_AGE => 0,

/**
* If allowed methods should be added to pre-flight response when 'simple' method is requested.
*/
S::KEY_FORCE_ADD_METHODS => false,

/**
* If allowed headers should be added when request headers are 'simple' and
* non of them is 'Content-Type'.
*/
S::KEY_IS_FORCE_ADD_HEADERS => false,

/**
* If request 'Host' header should be checked against server's origin.
*/
S::KEY_CHECK_HOST_HEADER => false,

];

0 comments on commit d77c751

Please sign in to comment.