realworld
realworld copied to clipboard
Give a clear 404 on all URLs that don't exist, currently they silently redirect to the home page
E.g.:
- for agular currently they silently redirect to the home page: https://demo.realworld.io/#/editor/ is the editor, but if I hack it: https://demo.realworld.io/#/editorasdfqwer/ it just immediately redirects to: https://demo.realworld.io/#/ It would be better to have a clear 404 this page does not exist error instead
- for https://github.com/gothinkster/react-redux-realworld-example-app at 9186292054dc37567e707602a15a0884d6bdae35 , http://localhost:4101/editorasdf just gives a blank page without redirects. I'm glad react doesn't use the terrible
/#/thing however!
I often type stuff wrong on the address bar, or I delete my dev database and articles are gone, and I'm left wondering what's up :-)
Hello @cirosantilli, thanks for pointing it out.
A 404 page is good candidate feature for the V2!