Skip to content

Commit

Permalink
added CORS
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddias committed Dec 25, 2013
1 parent 1cca7e3 commit 77bf342
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions env.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ function init(server, cb) {
rate: 50,
ip: true
}));
server.use(restify.CORS());
server.use(restify.acceptParser(server.acceptable));
server.use(restify.queryParser());
server.use(restify.bodyParser());
Expand Down

0 comments on commit 77bf342

Please sign in to comment.