Fix preflightMaxAge doc.

This commit is contained in:
Soheil Rashidi 2017-09-02 15:12:16 +04:30 committed by GitHub
parent c7eb8a84f3
commit aa308c9106

View file

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