Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

playing more with headers

  • Loading branch information...
commit 5d167c848afc2a3ff6d49931a6241867003cbc3b 1 parent ec0edce
@aaronpowell authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  web.js
View
2  web.js
@@ -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();
});
Please sign in to comment.
Something went wrong with that request. Please try again.