davide.cucurnia@vola.it
2024-02-05 134b671d55cec9a776037eaf53c9595f928f8ae1
commit | author | age
9f6455 1 <?php
DC 2
3 return [
4
5     /*
6     |--------------------------------------------------------------------------
7     | Cross-Origin Resource Sharing (CORS) Configuration
8     |--------------------------------------------------------------------------
9     |
10     | Here you may configure your settings for cross-origin resource sharing
11     | or "CORS". This determines what cross-origin operations may execute
12     | in web browsers. You are free to adjust these settings as needed.
13     |
14     | To learn more: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
15     |
16     */
17
18     'paths' => ['api/*', 'sanctum/csrf-cookie'],
19
20     'allowed_methods' => ['*'],
21
22     'allowed_origins' => ['*'],
23
24     'allowed_origins_patterns' => [],
25
26     'allowed_headers' => ['*'],
27
28     'exposed_headers' => [],
29
30     'max_age' => 0,
31
32     'supports_credentials' => false,
33
34 ];