payload: {"action":"created","issue":{"url":"https://api.github.com/repos/facebook/create-react-app/issues/6135","repository_url":"https://api.github.com/repos/facebook/create-react-app","labels_url":"https://api.github.com/repos/facebook/create-react-app/issues/6135/labels{/name}","comments_url":"https://api.github.com/repos/facebook/create-react-app/issues/6135/comments","events_url":"https://api.github.com/repos/facebook/create-react-app/issues/6135/events","html_url":"https://github.com/facebook/create-react-app/issues/6135","id":396232923,"node_id":"MDU6SXNzdWUzOTYyMzI5MjM=","number":6135,"title":"support PUBLIC_URL during development as well","user":{"login":"PavelPolyakov","id":839290,"node_id":"MDQ6VXNlcjgzOTI5MA==","avatar_url":"https://avatars0.githubusercontent.com/u/839290?v=4","gravatar_id":"","url":"https://api.github.com/users/PavelPolyakov","html_url":"https://github.com/PavelPolyakov","followers_url":"https://api.github.com/users/PavelPolyakov/followers","following_url":"https://api.github.com/users/PavelPolyakov/following{/other_user}","gists_url":"https://api.github.com/users/PavelPolyakov/gists{/gist_id}","starred_url":"https://api.github.com/users/PavelPolyakov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PavelPolyakov/subscriptions","organizations_url":"https://api.github.com/users/PavelPolyakov/orgs","repos_url":"https://api.github.com/users/PavelPolyakov/repos","events_url":"https://api.github.com/users/PavelPolyakov/events{/privacy}","received_events_url":"https://api.github.com/users/PavelPolyakov/received_events","type":"User","site_admin":false},"labels":[{"id":1113224076,"node_id":"MDU6TGFiZWwxMTEzMjI0MDc2","url":"https://api.github.com/repos/facebook/create-react-app/labels/stale","name":"stale","color":"f4d37f","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2019-01-06T06:37:34Z","updated_at":"2019-05-06T18:32:50Z","closed_at":null,"author_association":"NONE","body":"<!--\r\n  PLEASE READ THE FIRST SECTION :-)\r\n-->\r\n\r\n### Is this a bug report?\r\n\r\nno\r\n\r\n\r\n### Situation\r\nImagine I want to have the next product structure:\r\n1. SPA (created using `create-react-app`), which is going to be served as `/auth`\r\n2. API, which is going to be served as `/auth/api/*`\r\n3. gateway, which resolves all the requests to the appropriate microservices\r\n\r\nHere is [a demo repo](https://github.com/PavelPolyakov/CRA-PUBLIC_URL-demo) I prepared.\r\n\r\n### Problem\r\nIn the current version of `CRA` the variable `PUBLIC_URL` is [ignored during the development](https://facebook.github.io/create-react-app/docs/advanced-configuration).\r\nThe closest answer to the question `why?` which I found was this:\r\nhttps://github.com/facebook/create-react-app/commit/30ee52cf3b2cbb6ac70999c02b1196bcaba8d4ca#diff-a7f98c18479be87c9f33e7604dbd1a09L33\r\n\r\nwhich was updated by https://github.com/facebook/create-react-app/commit/30ee52cf3b2cbb6ac70999c02b1196bcaba8d4ca#diff-dc0c4e7c623b73660da1809fc60cf6baR74 (@Timer)\r\n\r\nBut this is exactly what prevents people from developing `CRA` applications while being under the gateway. I think it is quite handy in the \"microservices\" world.\r\n\r\n### Question\r\nAre there any solutions to this problem? Is this something we can change in the CRA behaviour?\r\n\r\nRegards,\r\n\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/create-react-app/issues/comments/489726644","html_url":"https://github.com/facebook/create-react-app/issues/6135#issuecomment-489726644","issue_url":"https://api.github.com/repos/facebook/create-react-app/issues/6135","id":489726644,"node_id":"MDEyOklzc3VlQ29tbWVudDQ4OTcyNjY0NA==","user":{"login":"PavelPolyakov","id":839290,"node_id":"MDQ6VXNlcjgzOTI5MA==","avatar_url":"https://avatars0.githubusercontent.com/u/839290?v=4","gravatar_id":"","url":"https://api.github.com/users/PavelPolyakov","html_url":"https://github.com/PavelPolyakov","followers_url":"https://api.github.com/users/PavelPolyakov/followers","following_url":"https://api.github.com/users/PavelPolyakov/following{/other_user}","gists_url":"https://api.github.com/users/PavelPolyakov/gists{/gist_id}","starred_url":"https://api.github.com/users/PavelPolyakov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PavelPolyakov/subscriptions","organizations_url":"https://api.github.com/users/PavelPolyakov/orgs","repos_url":"https://api.github.com/users/PavelPolyakov/repos","events_url":"https://api.github.com/users/PavelPolyakov/events{/privacy}","received_events_url":"https://api.github.com/users/PavelPolyakov/received_events","type":"User","site_admin":false},"created_at":"2019-05-06T18:32:50Z","updated_at":"2019-05-06T18:32:50Z","author_association":"NONE","body":"And still, this issue is not stale. But needs an attention of contributors, so we know if it's a bug or a feature."}}
other: {"actor":{"display_login":"PavelPolyakov"}}