You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
846 B

3 years ago
  1. <?php
  2. return [
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Cross-Origin Resource Sharing (CORS) Configuration
  6. |--------------------------------------------------------------------------
  7. |
  8. | Here you may configure your settings for cross-origin resource sharing
  9. | or "CORS". This determines what cross-origin operations may execute
  10. | in web browsers. You are free to adjust these settings as needed.
  11. |
  12. | To learn more: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
  13. |
  14. */
  15. 'paths' => ['api/*', 'sanctum/csrf-cookie'],
  16. 'allowed_methods' => ['*'],
  17. 'allowed_origins' => ['*'],
  18. 'allowed_origins_patterns' => [],
  19. 'allowed_headers' => ['*'],
  20. 'exposed_headers' => [],
  21. 'max_age' => 0,
  22. 'supports_credentials' => false,
  23. ];