Closed just4fun closed 6 years ago
Hi @just4fun 😁
When those 500 errors are returned, what is logged by the Heroku app? Please tail the logs and paste the result here:
heroku logs -t
That should indicate the problem.
Hey @mars
It's very weird that when I add static.json
back to my project then force push to heroku again, everything works well. Last weekend I did same thing but had no luck.
Anyway, thanks.
I created
static.json
per document as below.However, I got following errors.
/automation-tool
is one of the route created by react routerfavicon.ico
is located in same level ofindex.html
inbuild/
folder. Moreover, as the pic above, thefavicon.ico
has been treated astext/html
Any configuration I missed? Currently I'm using
create-react-app@2.1.1
.