Permalink
Browse files

playing more with headers

  • Loading branch information...
1 parent ec0edce commit 5d167c848afc2a3ff6d49931a6241867003cbc3b @aaronpowell committed Mar 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 web.js
View
@@ -6,7 +6,7 @@ var //pinboard = require('pinboard'),
server.all('*', function (req, res, next) {
res.header("Access-Control-Allow-Origin", "*");
- res.header("Access-Control-Allow-Headers", "X-Requested-With");
+ res.header("Access-Control-Allow-Headers", "X-Requested-With Authentication");
res.header("Access-Control-Allow-Credentials", "true");
next();
});

0 comments on commit 5d167c8

Please sign in to comment.