Missing comma.

This commit is contained in:
Joao henriques 2014-12-03 14:54:59 +00:00
parent 00f733f95a
commit ac583ef8a9

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']