Skip to content

Commit

Permalink
Merge pull request expressjs#41 from DracoBlue/add-exposed-headers-to…
Browse files Browse the repository at this point in the history
…-options-request

Add exposed headers to non-CORS OPTIONS request
  • Loading branch information
troygoode committed Apr 26, 2015
2 parents 66381a9 + 77ebab2 commit 0d93d08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
headers.push(configureMethods(options, req));
headers.push(configureAllowedHeaders(options, req));
headers.push(configureMaxAge(options, req));
headers.push(configureExposedHeaders(options, req));
applyHeaders(headers, res);

if (options.preflightContinue ) {
Expand Down

0 comments on commit 0d93d08

Please sign in to comment.