Configured the app to handle routing