When navigating through the application using the UI, all routes work correctly.
However, refreshing the browser on any non-root route (F5 / Ctrl+R) results in a 404 Not Found error.
Steps to Reproduce
Open the application.
Navigate to a route such as:
/inventory
/dashboard
/requests
/insights
Refresh the page.
Observe the 404 response.
Expected Behavior
The application should load normally after a browser refresh regardless of the current route.
When navigating through the application using the UI, all routes work correctly.
However, refreshing the browser on any non-root route (F5 / Ctrl+R) results in a 404 Not Found error.
Steps to Reproduce
Open the application.
Navigate to a route such as:
/inventory
/dashboard
/requests
/insights
Refresh the page.
Observe the 404 response.
Expected Behavior
The application should load normally after a browser refresh regardless of the current route.