How can I get django to redirect all unknown urls to /
Since the react part of the project uses react-router, it changes the url in the SPA. So if I go to /options
in the app, it works, but if I were to enter the url and cold load from http://example.com/options
, uwsgi returns a 404.
What is the proper thing to do to prevent this?