mirror of
https://github.com/scratchfoundation/restify-cors-middleware.git
synced 2024-12-18 03:43:09 -05:00
Merge pull request #45 from soheilpro/fix-preflightmaxage-doc
Fix preflightMaxAge doc.
This commit is contained in:
commit
fca6699aff
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ var constants = require('./constants.js')
|
||||||
* @param {Boolean} [options.credentials] if true, uses creds
|
* @param {Boolean} [options.credentials] if true, uses creds
|
||||||
* @param {Array} [options.allowHeaders] user defined headers to allow
|
* @param {Array} [options.allowHeaders] user defined headers to allow
|
||||||
* @param {Array} [options.exposeHeaders] user defined headers to expose
|
* @param {Array} [options.exposeHeaders] user defined headers to expose
|
||||||
* @param {Number} [options.preflightMaxAge] ms to cache preflight requests
|
* @param {Number} [options.preflightMaxAge] seconds to cache preflight requests
|
||||||
* @param {Object | Function} [options.preflightStrategy]
|
* @param {Object | Function} [options.preflightStrategy]
|
||||||
* customize preflight request handling
|
* customize preflight request handling
|
||||||
* @returns {Object} returns an object with actual and preflight handlers
|
* @returns {Object} returns an object with actual and preflight handlers
|
||||||
|
|
Loading…
Reference in a new issue