['*'], /* * Matches the request method. `['*']` allows all methods. */ 'allowed_methods' => ['*'], /* * Matches the request origin. `['*']` allows all origins. Wildcards can be used, eg `*.mydomain.com` */ 'allowed_origins' => ['*'], /* * Patterns that can be used with `preg_match` to match the origin. */ 'allowed_origins_patterns' => [ 'http:\/\/legaulois2020\.test', 'https:\/\/dev\.legaulois\.fr', 'https:\/\//www\.legaulois\.fr', 'https:\/\/[a-z0-9\-\.]*\.sips-atos\.com' // Mercanet ], /* * Sets the Access-Control-Allow-Headers response header. `['*']` allows all headers. */ 'allowed_headers' => ['*'], /* * Sets the Access-Control-Expose-Headers response header with these headers. */ 'exposed_headers' => [], /* * Sets the Access-Control-Max-Age response header when > 0. */ 'max_age' => 0, /* * Sets the Access-Control-Allow-Credentials header. */ 'supports_credentials' => false, ];