def _add_slash(self, proposal):
        """trait validator to ensure hub_url ends with a trailing slash"""
        if proposal.value is not None and not proposal.value.endswith("/"):
            return proposal.value + "/"
        return proposal.value
trait validator to ensure hub_url ends with a trailing slash
binderhub/app.py