Describe the bug
When I set frontend_path (e.g. /app) in rxconfig and try to open a non-existent endpoint. It show the 404 page and infinite redirect loop
To Reproduce
Steps to reproduce the behavior:
- Create new project by reflex init
- Add frontend_path to rxconfig
- Start with: reflex run
Expected behavior
It should show the 404 page and does not redirect as frontend_path is None.
Screenshots

Specifics (please complete the following information):
- Python Version: 3.12.8
- Reflex Version: 0.7.5
- OS: Pop! OS
- Browser (Optional): Firefox
Additional context
Add any other context about the problem here.
Describe the bug
When I set frontend_path (e.g. /app) in rxconfig and try to open a non-existent endpoint. It show the 404 page and infinite redirect loop
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should show the 404 page and does not redirect as frontend_path is None.
Screenshots
Specifics (please complete the following information):
Additional context
Add any other context about the problem here.