mirror of
https://github.com/scratchfoundation/restify-cors-middleware.git
synced 2025-03-13 22:09:49 -04:00
Fix preflightMaxAge doc.
This commit is contained in:
parent
c7eb8a84f3
commit
aa308c9106
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 {Array} [options.allowHeaders] user defined headers to allow
|
||||
* @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]
|
||||
* customize preflight request handling
|
||||
* @returns {Object} returns an object with actual and preflight handlers
|
||||
|
|
Loading…
Reference in a new issue