User `request.base_url` to remove trailing slash