cors.php 846 B

12345678910111213141516171819202122232425262728293031323334
  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. ];