{"action":"opened","issue":{"url":"https://api.github.com/repos/we-loview/loview-backend/issues/17","repository_url":"https://api.github.com/repos/we-loview/loview-backend","labels_url":"https://api.github.com/repos/we-loview/loview-backend/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/we-loview/loview-backend/issues/17/comments","events_url":"https://api.github.com/repos/we-loview/loview-backend/issues/17/events","html_url":"https://github.com/we-loview/loview-backend/issues/17","id":388929882,"node_id":"MDU6SXNzdWUzODg5Mjk4ODI=","number":17,"title":"Fix CORS Errors","user":{"login":"FelixSchwarzmeier","id":23665008,"node_id":"MDQ6VXNlcjIzNjY1MDA4","avatar_url":"https://avatars2.githubusercontent.com/u/23665008?v=4","gravatar_id":"","url":"https://api.github.com/users/FelixSchwarzmeier","html_url":"https://github.com/FelixSchwarzmeier","followers_url":"https://api.github.com/users/FelixSchwarzmeier/followers","following_url":"https://api.github.com/users/FelixSchwarzmeier/following{/other_user}","gists_url":"https://api.github.com/users/FelixSchwarzmeier/gists{/gist_id}","starred_url":"https://api.github.com/users/FelixSchwarzmeier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FelixSchwarzmeier/subscriptions","organizations_url":"https://api.github.com/users/FelixSchwarzmeier/orgs","repos_url":"https://api.github.com/users/FelixSchwarzmeier/repos","events_url":"https://api.github.com/users/FelixSchwarzmeier/events{/privacy}","received_events_url":"https://api.github.com/users/FelixSchwarzmeier/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-08T15:07:31Z","updated_at":"2018-12-08T15:07:31Z","closed_at":null,"author_association":"COLLABORATOR","body":"Add `Access-Control-Allow-Origin, *` to the response headers, so we no longer get these errors:\r\n```\r\nAccess to fetch at 'http://127.0.0.1:5000/profile_picture/533b0965190ba004578b524d' from origin \r\n'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is \r\npresent on the requested resource. If an opaque response serves your needs, set the request's mode\r\nto 'no-cors' to fetch the resource with CORS disabled.\r\n```"}}
{"actor":{"display_login":"FelixSchwarzmeier"}}