I have deployed a react app on GitHub the issue is when refresh is done on any of its routed pages I get 404 not found error
though when the app is in development mode the pages refreshes properly
i am using switch for routing
< Switch >
<
Route exact path = "/"
component = {
Home
}
/> <
Route exact path = "/todo"
component = {
Issuetracker
}
/> <
Route exact path = "/weather"
component = {
Weather
}
/> <
/Switch>
Kindly suggest way to fix it