['api/*'], 'allowed_methods' => ['*'], 'allowed_origins' => ['*'], 'allowed_origins_patterns' => [], 'allowed_headers' => ['*'], 'exposed_headers' => ['x-custom-response-header'], 'max_age' => 0, 'supports_credentials' => false, ];