{"action":"created","issue":{"url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/1588","repository_url":"https://api.github.com/repos/facebookincubator/create-react-app","labels_url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/1588/labels{/name}","comments_url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/1588/comments","events_url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/1588/events","html_url":"https://github.com/facebookincubator/create-react-app/pull/1588","id":208629549,"number":1588,"title":"Adds HOST and PORT env variables to react app so websocket","user":{"login":"scisci","id":1807438,"avatar_url":"https://avatars1.githubusercontent.com/u/1807438?v=3","gravatar_id":"","url":"https://api.github.com/users/scisci","html_url":"https://github.com/scisci","followers_url":"https://api.github.com/users/scisci/followers","following_url":"https://api.github.com/users/scisci/following{/other_user}","gists_url":"https://api.github.com/users/scisci/gists{/gist_id}","starred_url":"https://api.github.com/users/scisci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scisci/subscriptions","organizations_url":"https://api.github.com/users/scisci/orgs","repos_url":"https://api.github.com/users/scisci/repos","events_url":"https://api.github.com/users/scisci/events{/privacy}","received_events_url":"https://api.github.com/users/scisci/received_events","type":"User","site_admin":false},"labels":[{"id":409579052,"url":"https://api.github.com/repos/facebookincubator/create-react-app/labels/CLA%20Signed","name":"CLA Signed","color":"009900","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/facebookincubator/create-react-app/milestones/23","html_url":"https://github.com/facebookincubator/create-react-app/milestone/23","labels_url":"https://api.github.com/repos/facebookincubator/create-react-app/milestones/23/labels","id":2272429,"number":23,"title":"0.10.0","description":"","creator":{"login":"gaearon","id":810438,"avatar_url":"https://avatars3.githubusercontent.com/u/810438?v=3","gravatar_id":"","url":"https://api.github.com/users/gaearon","html_url":"https://github.com/gaearon","followers_url":"https://api.github.com/users/gaearon/followers","following_url":"https://api.github.com/users/gaearon/following{/other_user}","gists_url":"https://api.github.com/users/gaearon/gists{/gist_id}","starred_url":"https://api.github.com/users/gaearon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaearon/subscriptions","organizations_url":"https://api.github.com/users/gaearon/orgs","repos_url":"https://api.github.com/users/gaearon/repos","events_url":"https://api.github.com/users/gaearon/events{/privacy}","received_events_url":"https://api.github.com/users/gaearon/received_events","type":"User","site_admin":false},"open_issues":35,"closed_issues":15,"state":"open","created_at":"2017-01-23T19:32:52Z","updated_at":"2017-02-27T18:04:15Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2017-02-18T10:06:20Z","updated_at":"2017-03-01T18:40:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/facebookincubator/create-react-app/pulls/1588","html_url":"https://github.com/facebookincubator/create-react-app/pull/1588","diff_url":"https://github.com/facebookincubator/create-react-app/pull/1588.diff","patch_url":"https://github.com/facebookincubator/create-react-app/pull/1588.patch"},"body":"Adds HOST and PORT env variables to react app so websocket can use them instead of window.location.\r\n\r\nThis addresses the issue listed here: https://github.com/facebookincubator/create-react-app/issues/853\r\n\r\nThis can be tested by adding a `.env` file to an app with the following content:\r\n```\r\nHOST=127.0.0.1\r\nPORT=3000\r\n```\r\n\r\nThen run the app by visiting http://localhost:3000. If you look at the network requests, you will see the websocket is using 127.0.0.1 and not localhost."},"comment":{"url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/comments/283429733","html_url":"https://github.com/facebookincubator/create-react-app/pull/1588#issuecomment-283429733","issue_url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/1588","id":283429733,"user":{"login":"thom-nic","id":95562,"avatar_url":"https://avatars0.githubusercontent.com/u/95562?v=3","gravatar_id":"","url":"https://api.github.com/users/thom-nic","html_url":"https://github.com/thom-nic","followers_url":"https://api.github.com/users/thom-nic/followers","following_url":"https://api.github.com/users/thom-nic/following{/other_user}","gists_url":"https://api.github.com/users/thom-nic/gists{/gist_id}","starred_url":"https://api.github.com/users/thom-nic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thom-nic/subscriptions","organizations_url":"https://api.github.com/users/thom-nic/orgs","repos_url":"https://api.github.com/users/thom-nic/repos","events_url":"https://api.github.com/users/thom-nic/events{/privacy}","received_events_url":"https://api.github.com/users/thom-nic/received_events","type":"User","site_admin":false},"created_at":"2017-03-01T18:40:42Z","updated_at":"2017-03-01T18:40:42Z","body":"Yes that sounds like it would solve my initial request.  I took to heart that create-react-app is for trivial setups and quickly ejected and customized things, so I can't say I'm facing the original situation anymore."}}
{"actor":{"display_login":"thom-nic"}}