URL routing in connect apps

Is there any documentation on how to setup routing for the connect apps? Specifically how to manage urls update?