diff --git a/web.coffee b/web.coffee index 95dc6a4..82ceeba 100644 --- a/web.coffee +++ b/web.coffee @@ -14,7 +14,7 @@ Location.connect(app.config.get('MONGOHQ_URL')) read = -> Location.toJson (error, json) => - @res.writeHead(200, {'Content-Type': 'application/json'}) + @res.writeHead(200, {'Content-Type': 'application/json', 'Access-Control-Allow-Origin': '*'}) @res.write JSON.stringify(json) @res.end()