Merge pull request #4 from johnnyghost/patch-1

Missing comma.
This commit is contained in:
Romain Prieto 2014-12-04 07:19:02 +11:00
commit a48453ad77

View file

@ -8,7 +8,7 @@
var corsMiddleware = require('restify-cors-middleware'); var corsMiddleware = require('restify-cors-middleware');
var cors = corsMiddleware({ var cors = corsMiddleware({
preflightMaxAge: 5 //Optional preflightMaxAge: 5, //Optional
origins: ['http://api.myapp.com', 'http://web.myapp.com'], origins: ['http://api.myapp.com', 'http://web.myapp.com'],
allowHeaders: ['API-Token'], allowHeaders: ['API-Token'],
exposeHeaders: ['API-Token-Expiry'] exposeHeaders: ['API-Token-Expiry']