main
Last change
on this file since 8a258ab was c454c0f, checked in by bube-ristovska <ristovska725@…>, 11 months ago |
First commit
|
-
Property mode
set to
100644
|
File size:
846 bytes
|
Rev | Line | |
---|
[c454c0f] | 1 | <?php
|
---|
| 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 | ];
|
---|
Note:
See
TracBrowser
for help on using the repository browser.