Frappe new app routes not working

Hello,
I add a new app to frappe framework, also I’m using frappe UI starter, and then define some routes, routes working find in development envirement ( vite server and port 8080) but when I try to reach UI and cutom routes from frappe ( port 8000 ) it shows error 404,

18:59:30 web.1         | Traceback (most recent call last):
18:59:30 web.1         |   File "/home/frappe/frappe-bench/apps/frappe/frappe/middlewares.py", line 16, in __call__
18:59:30 web.1         |     return super().__call__(environ, start_response)
18:59:30 web.1         |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18:59:30 web.1         |   File "/home/frappe/frappe-bench/env/lib/python3.11/site-packages/werkzeug/middleware/shared_data.py", line 243, in __call__
18:59:30 web.1         |     real_filename, file_loader = loader(path[len(search_path) :])
18:59:30 web.1         |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18:59:30 web.1         |   File "/home/frappe/frappe-bench/apps/frappe/frappe/middlewares.py", line 25, in loader
18:59:30 web.1         |     raise NotFound
18:59:30 web.1         | werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.

is there any steps that I have to follow to frappe recognize routes define in frappe ui starter?
Thank you