Merge pull request #45 from soheilpro/fix-preflightmaxage-doc

Fix preflightMaxAge doc.
This commit is contained in:
William Blankenship 2017-10-31 11:16:15 -07:00 committed by GitHub
commit fca6699aff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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