{"action":"closed","issue":{"url":"https://api.github.com/repos/graphql/express-graphql/issues/431","repository_url":"https://api.github.com/repos/graphql/express-graphql","labels_url":"https://api.github.com/repos/graphql/express-graphql/issues/431/labels{/name}","comments_url":"https://api.github.com/repos/graphql/express-graphql/issues/431/comments","events_url":"https://api.github.com/repos/graphql/express-graphql/issues/431/events","html_url":"https://github.com/graphql/express-graphql/issues/431","id":317397828,"number":431,"title":"I try disable CORS","user":{"login":"korolariya","id":6088179,"avatar_url":"https://avatars0.githubusercontent.com/u/6088179?v=4","gravatar_id":"","url":"https://api.github.com/users/korolariya","html_url":"https://github.com/korolariya","followers_url":"https://api.github.com/users/korolariya/followers","following_url":"https://api.github.com/users/korolariya/following{/other_user}","gists_url":"https://api.github.com/users/korolariya/gists{/gist_id}","starred_url":"https://api.github.com/users/korolariya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/korolariya/subscriptions","organizations_url":"https://api.github.com/users/korolariya/orgs","repos_url":"https://api.github.com/users/korolariya/repos","events_url":"https://api.github.com/users/korolariya/events{/privacy}","received_events_url":"https://api.github.com/users/korolariya/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-04-24T21:14:35Z","updated_at":"2018-04-25T10:06:15Z","closed_at":"2018-04-25T10:06:15Z","author_association":"NONE","body":"```\r\napp.use(\r\n    '/graphql', (req, res) => {\r\n        res.setHeader('Access-Control-Allow-Origin', '*');\r\n        res.setHeader('Access-Control-Allow-Headers', 'origin, content-type, accept');\r\n        graphqlHTTP({\r\n            schema  : compiledSchema,\r\n            graphiql: true,\r\n        })(req, res);\r\n    },\r\n);\r\n```\r\nbut I can't turn off "}}
{"actor":{"display_login":"korolariya"}}