Nessuna descrizione

cors.php 846B

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