Skip to content

Commit

Permalink
Merge pull request expressjs#12 from trevordixon/patch-1
Browse files Browse the repository at this point in the history
Fix README typo.
  • Loading branch information
troygoode committed Nov 22, 2013
2 parents 92eddda + fae0896 commit 7a86f6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ var whitelist = ['http://example1.com', 'http://example2.com'];
var corsOptions = {
origin: function(origin, callback){
var originIsWhitelisted = whitelist.indexOf(origin) !== -1;
cb(null, originIsWhitelisted);
callback(null, originIsWhitelisted);
}
};

Expand Down

0 comments on commit 7a86f6f

Please sign in to comment.