{"action":"opened","issue":{"url":"https://api.github.com/repos/honeybadger-io/honeybadger-js/issues/32","labels_url":"https://api.github.com/repos/honeybadger-io/honeybadger-js/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/honeybadger-io/honeybadger-js/issues/32/comments","events_url":"https://api.github.com/repos/honeybadger-io/honeybadger-js/issues/32/events","html_url":"https://github.com/honeybadger-io/honeybadger-js/issues/32","id":100027561,"number":32,"title":"CORS not allowed?","user":{"login":"zinkkrysty","id":570771,"avatar_url":"https://avatars.githubusercontent.com/u/570771?v=3","gravatar_id":"","url":"https://api.github.com/users/zinkkrysty","html_url":"https://github.com/zinkkrysty","followers_url":"https://api.github.com/users/zinkkrysty/followers","following_url":"https://api.github.com/users/zinkkrysty/following{/other_user}","gists_url":"https://api.github.com/users/zinkkrysty/gists{/gist_id}","starred_url":"https://api.github.com/users/zinkkrysty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zinkkrysty/subscriptions","organizations_url":"https://api.github.com/users/zinkkrysty/orgs","repos_url":"https://api.github.com/users/zinkkrysty/repos","events_url":"https://api.github.com/users/zinkkrysty/events{/privacy}","received_events_url":"https://api.github.com/users/zinkkrysty/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-10T10:12:30Z","updated_at":"2015-08-10T10:12:30Z","closed_at":null,"body":"I am trying to test the JS error reporting in development, but so far I get this error:\r\n\r\n```\r\nXMLHttpRequest cannot load https://api.honeybadger.io/v1/notices/js?api_key=MY_API_KEY. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://my-app.dev' is therefore not allowed access. The response had HTTP status code 500.\r\n```\r\n\r\nThis is the config script in the `<head>` tag:\r\n\r\n```\r\n    <script src=\"//js.honeybadger.io/v0.3/honeybadger.min.js\" type=\"text/javascript\"></script>\r\n    <script>\r\n      Honeybadger.configure({\r\n        api_key: 'MY_API_KEY', // Public API key\r\n        onerror: true\r\n      });\r\n    </script>\r\n```\r\n\r\nDoes it only work in production?"}}