Skip to content

Commit

Permalink
Merge pull request expressjs#85 from kwizzn/typofix
Browse files Browse the repository at this point in the history
Typo fix
  • Loading branch information
troygoode authored Aug 25, 2016
2 parents 5dae6d8 + e9c766d commit 886532f
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 @@ -70,7 +70,7 @@ var express = require('express')

var corsOptions = {
origin: 'http://example.com',
optionsSucccessCode: 200 // some legacy browsers (IE11, various SmartTVs) choke on 204
optionsSuccessStatus: 200 // some legacy browsers (IE11, various SmartTVs) choke on 204
};

app.get('/products/:id', cors(corsOptions), function(req, res, next){
Expand Down

0 comments on commit 886532f

Please sign in to comment.