mars / create-react-app-buildpack

⚛️ Heroku Buildpack for create-react-app: static hosting for React.js web apps
MIT License
3.28k stars 653 forks source link

Non static buildpack? #139

Closed MiguelArmendariz closed 6 years ago

MiguelArmendariz commented 6 years ago

Hey,

is there a way to make the buildpack non static, or to make my app load herokuURL/LocationX without prompting a 404 error.

If I go to herokuURL and click a button I get redirected and everything works fine. but if I want to hit refresh or put the full url myself I get the 404.

After reading in the closed issues I found that I need to use a static.json file with the routes there.