1
0

update readme

This commit is contained in:
2023-09-29 12:20:23 +02:00
parent a5ccf0fc01
commit 0037fb64ea

View File

@@ -210,13 +210,15 @@ 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` | `*`
`maxAge` | `integer` | `86400` `allowCredentials` | `boolean` | `undefined`
`optionsSuccessStatus` | `integer` | `204` `vary` | `string` | `undefined`
`maxAge` | `integer` | `86400`
`optionsSuccessStatus` | `integer` | `204`
### Supported Methods ### Supported Methods