<?php12return [3/*4|--------------------------------------------------------------------------5| Cross-Origin Resource Sharing (CORS) Configuration6|--------------------------------------------------------------------------7|8| Here you may configure your settings for cross-origin resource sharing9| or "CORS". This determines what cross-origin operations may execute10| 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/CORS13|14*/1516/*17* You can enable CORS for 1 or multiple paths.18* Example: ['api/*']19*/20'paths' => ['/api/client', '/api/application', '/api/client/*', '/api/application/*'],2122/*23* Matches the request method. `['*']` allows all methods.24*/25'allowed_methods' => ['GET', 'POST', 'PUT', 'PATCH', 'DELETE', 'HEAD'],2627/*28* Matches the request origin. `['*']` allows all origins. Wildcards can be used, eg `*.mydomain.com`29*/30'allowed_origins' => explode(',', env('APP_CORS_ALLOWED_ORIGINS') ?? ''),3132/*33* Patterns that can be used with `preg_match` to match the origin.34*/35'allowed_origins_patterns' => [],3637/*38* Sets the Access-Control-Allow-Headers response header. `['*']` allows all headers.39*/40'allowed_headers' => ['*'],4142/*43* Sets the Access-Control-Expose-Headers response header with these headers.44*/45'exposed_headers' => [],4647/*48* Sets the Access-Control-Max-Age response header when > 0.49*/50'max_age' => 0,5152/*53* Sets the Access-Control-Allow-Credentials header.54*/55'supports_credentials' => true,56];575859