Skip to content
Browse files

see if this is any better

  • Loading branch information...
1 parent 0b6d035 commit 13f02faa63cc0d9fb658fb6b19736fa063c2a0a7 @atmos committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 app.js
View
2 app.js
@@ -23,7 +23,7 @@ app.get('/users/:name', function(req,res) {
var name = req.params.name
res.header("Content-Type", "application/json")
- res.header("Origin", "*")
+ res.header("Access-Control-Allow-Origin", "*")
user.get(name, function(err, data) {
if(err) {

0 comments on commit 13f02fa

Please sign in to comment.
Something went wrong with that request. Please try again.