Imdadul Haque
Imdadul Haque

Reputation: 1855

ReactJS 404 error after refreshing the page in server

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

Answers (1)

Imdadul Haque
Imdadul Haque

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

Related Questions