React app does not show favicon after build

Viewed 711

I created my react app with create-react-app. When using npm start it works fine

enter image description here

But when I used npm run-script build and host it via 000webhostapp, the favicon does not show. Below is the code from index.html after build

<link rel="icon" href="/favicon.ico"/>

enter image description here

When I call it directly enter image description here

Even when open the index.html locally does not show the icon enter image description here

0 Answers
Related