Permalink
Browse files

be stupid about the origin

  • Loading branch information...
1 parent aafe50e commit 0b6d0359ae6e6d203712304d92c20d75058a3446 @atmos committed Apr 10, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 app.js
View
1 app.js
@@ -23,6 +23,7 @@ app.get('/users/:name', function(req,res) {
var name = req.params.name
res.header("Content-Type", "application/json")
+ res.header("Origin", "*")
user.get(name, function(err, data) {
if(err) {

0 comments on commit 0b6d035

Please sign in to comment.