Closed JesseNoseworthy closed 5 years ago
Please note that 404's should now redirect the user to a homepage. If the goal is to create a 404 page, we should create a new task to address it. 😄
It uglifies the URL for sure but it's definitely the easiest solution.
@colindamelio has this been pushed to prod as well?
Fixes https://github.com/colindamelio/saraswati/issues/40.
BrowserRouter()
will work fine locally, but is prone to errors on the server (this means you will not experience any bugs locally, only in Production).HashRouter()
is the solution to this problem, as explained here: