Cors::headers()
Returns CORS headers based on configuration
Cors::headers(bool $preflight = false): array
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $preflight | bool |
false
|
Whether this is a preflight request |
Return type
array