cors.php 550 B

1234567891011121314151617181920212223
  1. <?php
  2. return [
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Laravel CORS
  6. |--------------------------------------------------------------------------
  7. |
  8. | allowedOrigins, allowedHeaders and allowedMethods can be set to array('*')
  9. | to accept any value.
  10. |
  11. */
  12. 'supportsCredentials' => false,
  13. 'allowedOrigins' => ['*'],
  14. 'allowedOriginsPatterns' => [],
  15. 'allowedHeaders' => ['*'],
  16. 'allowedMethods' => ['*'],
  17. 'exposedHeaders' => [],
  18. 'maxAge' => 0,
  19. ];