From aa308c91060a4638ec1149179f18b48777a5b82c Mon Sep 17 00:00:00 2001 From: Soheil Rashidi Date: Sat, 2 Sep 2017 15:12:16 +0430 Subject: [PATCH] Fix preflightMaxAge doc. --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 1795e93..25f8756 100644 --- a/src/index.js +++ b/src/index.js @@ -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