Reputation: 1855
I have deployed a reactjs web application and in the local server, it works perfectly but after deployment on the server, it showed a 404 error when I refresh any page.
Upvotes: 1
Views: 446
Reputation: 1855
Mr. @KieranQuinn and @HonghaiMei take love. Thanks to everyone who help me and who try to help me. The issue is solved by using HashRouter instead of Browserrouter.
Upvotes: 2