With static.json, got 500 error for both favicon.ico and client routing paths
Closed this issue · 2 comments
just4fun commented
I created static.json
per document as below.
{
"root": "build/",
"routes": {
"/**": "index.html"
}
}
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
.