We need to set the url so that routing will happen within the app and so that scripts which are referenced relatively can be downloaded.