Configuration options
| key | type | default value | description |
|---|---|---|---|
|
boolean |
|
Sets the allow credentials flag. |
|
string[] |
|
Sets the allow headers. |
|
string[] |
|
Sets the allow methods. |
|
string[] |
|
Sets the allowOrigins. |
|
boolean |
|
Sets whether this config should be enabled or not. |
|
string[] |
|
Sets the expose headers. |
|
long |
|
Sets the maximum age. |
|
string |
|
Updates the path prefix for this cross-origin config. |