azimuth icon indicating copy to clipboard operation
azimuth copied to clipboard

Redirect to page not found not working on root route

Open saivishwak opened this issue 3 years ago • 0 comments

Describe the bug When we enter http://localhost:3005/asdfasdfasdfadf . This route is redirecting to /:JobID route rather than page not found.

Usually everyone tends to type something on the root route ("/") to navigate to the next page. With the existing approach this feels a like a bad ux experience. And also later when the app needs to have different routes which are not related to data, they can go to their route like /settings/my_profile , /users/:userID. This will be useful when the app grows.

To Reproduce open localhost and enter random route like http://localhost:3005/asdfasdfasdfa

Some advices:

  • Please don't use customer data or custom paths.
  • Link to a gist would be appreciated.

Expected behavior The route should be redirected to page not found

Vesion (please complete the following information):

  • OS: Windows (WSL2)
  • Azimuth version: 2.3.0

Additional context Adding a screenshot of the issue

1

saivishwak avatar Sep 24 '22 11:09 saivishwak