Hello,
In my app, I want to handle ALL not-found/incorrect URLs by showing a generic NotFound Page that contains a simple message and a link to the home page, instead of the ugly default browser page.
So I have created a custom file with the needed content and gave it the URL "/not-found".
Now how should I tell the app to route all not-found URLs to my custom page URL ("/not-found")? and at what server event?
Thank you in advance.