Configuring redirects in CUBA to hide the 404 error

Could you please advise how to set up URL redirection in CUBA from http://localhost:8080/ to http://localhost:8080/demo/ ? My goal is to redirect users from the base URL / to /${webContextName}/ so that they do not encounter a 404 - Not Found error page.

Currently, attempting to access the application root without the context, such as http://localhost:8080/ , results in a 404 error. I need users to be automatically redirected to http://localhost:8080/demo/ or a similar URL containing the web context name.