Skip to content

Commit

Permalink
Fix jsdoc types for constructor (#1541)
Browse files Browse the repository at this point in the history
* Fix jsdoc type for options.proxyIpHeader

* Update application.js
  • Loading branch information
pkuczynski authored and jonathanong committed Aug 18, 2021
1 parent 03e6317 commit 65113ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ module.exports = class Application extends Emitter {
* @param {string[]} [options.keys] Signed cookie keys
* @param {boolean} [options.proxy] Trust proxy headers
* @param {number} [options.subdomainOffset] Subdomain offset
* @param {boolean} [options.proxyIpHeader] proxy ip header, default to X-Forwarded-For
* @param {boolean} [options.maxIpsCount] max ips read from proxy ip header, default to 0 (means infinity)
* @param {string} [options.proxyIpHeader] Proxy IP header, defaults to X-Forwarded-For
* @param {number} [options.maxIpsCount] Max IPs read from proxy IP header, default to 0 (means infinity)
*
*/

Expand Down

0 comments on commit 65113ca

Please sign in to comment.