{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/create-react-app/issues/4905","repository_url":"https://api.github.com/repos/facebook/create-react-app","labels_url":"https://api.github.com/repos/facebook/create-react-app/issues/4905/labels{/name}","comments_url":"https://api.github.com/repos/facebook/create-react-app/issues/4905/comments","events_url":"https://api.github.com/repos/facebook/create-react-app/issues/4905/events","html_url":"https://github.com/facebook/create-react-app/issues/4905","id":352487863,"node_id":"MDU6SXNzdWUzNTI0ODc4NjM=","number":4905,"title":"change HOST in production build","user":{"login":"viru9","id":29192478,"node_id":"MDQ6VXNlcjI5MTkyNDc4","avatar_url":"https://avatars0.githubusercontent.com/u/29192478?v=4","gravatar_id":"","url":"https://api.github.com/users/viru9","html_url":"https://github.com/viru9","followers_url":"https://api.github.com/users/viru9/followers","following_url":"https://api.github.com/users/viru9/following{/other_user}","gists_url":"https://api.github.com/users/viru9/gists{/gist_id}","starred_url":"https://api.github.com/users/viru9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viru9/subscriptions","organizations_url":"https://api.github.com/users/viru9/orgs","repos_url":"https://api.github.com/users/viru9/repos","events_url":"https://api.github.com/users/viru9/events{/privacy}","received_events_url":"https://api.github.com/users/viru9/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-21T10:56:33Z","updated_at":"2018-10-05T11:46:11Z","closed_at":null,"author_association":"NONE","body":"i have changed the default PORT for production build like,\r\n\r\n  ```\r\n\"scripts\": {\r\n    \"start\": \"react-scripts start\",\r\n    \"build\": \"react-scripts build\",\r\n    \"deploy\": \"serve -p 8002 -s build\"\r\n  }\r\n```\r\ncan i change the HOST (localhost) some how ?, i need to do this for the production, not for the development."},"comment":{"url":"https://api.github.com/repos/facebook/create-react-app/issues/comments/427338035","html_url":"https://github.com/facebook/create-react-app/issues/4905#issuecomment-427338035","issue_url":"https://api.github.com/repos/facebook/create-react-app/issues/4905","id":427338035,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNzMzODAzNQ==","user":{"login":"stereobooster","id":179534,"node_id":"MDQ6VXNlcjE3OTUzNA==","avatar_url":"https://avatars2.githubusercontent.com/u/179534?v=4","gravatar_id":"","url":"https://api.github.com/users/stereobooster","html_url":"https://github.com/stereobooster","followers_url":"https://api.github.com/users/stereobooster/followers","following_url":"https://api.github.com/users/stereobooster/following{/other_user}","gists_url":"https://api.github.com/users/stereobooster/gists{/gist_id}","starred_url":"https://api.github.com/users/stereobooster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stereobooster/subscriptions","organizations_url":"https://api.github.com/users/stereobooster/orgs","repos_url":"https://api.github.com/users/stereobooster/repos","events_url":"https://api.github.com/users/stereobooster/events{/privacy}","received_events_url":"https://api.github.com/users/stereobooster/received_events","type":"User","site_admin":false},"created_at":"2018-10-05T11:46:11Z","updated_at":"2018-10-05T11:46:11Z","author_association":"CONTRIBUTOR","body":"you can change hosts file\r\n\r\n```\r\nmydomain.dev 127.0.0.1\r\n```\r\n\r\nand later visit http://mydomain.dev:8002.\r\n\r\nQuestion is unrelated to CRA itself, though"}}
{"actor":{"display_login":"stereobooster"}}