update readme
This commit is contained in:
@@ -211,10 +211,12 @@ If enabled will overwrite other `OPTIONS` requests.
|
|||||||
#### `config` (object, optional)
|
#### `config` (object, optional)
|
||||||
|
|
||||||
Key | Type | Default Value
|
Key | Type | Default Value
|
||||||
---------------------- | --------- | -------------
|
-------------------------- | ---------- | -------------
|
||||||
`allowOrigin` | `string` | `*`
|
`allowOrigin` | `string` | `*`
|
||||||
`allowMethods` | `string` | `*`
|
`allowMethods` | `string` | `*`
|
||||||
`allowHeaders` | `string` | `*`
|
`allowHeaders` | `string` | `*`
|
||||||
|
`allowCredentials` | `boolean` | `undefined`
|
||||||
|
`vary` | `string` | `undefined`
|
||||||
`maxAge` | `integer` | `86400`
|
`maxAge` | `integer` | `86400`
|
||||||
`optionsSuccessStatus` | `integer` | `204`
|
`optionsSuccessStatus` | `integer` | `204`
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user