I have create a bundle of react project by npm run build and create a virtual host file which is pointing to build folder, the application is working fine with different route, but when I page refresh other then root route then page not working.
This image is without page Load: https://i.stack.imgur.com/EnBOU.png
But after page load it giving me this error. https://i.stack.imgur.com/GooRM.png
See Question&Answers more detail:os