    def url(self):
        """My URL

        Full name.domain/path if using subdomains, otherwise just my /base/url
        """
        if self.settings.get("subdomain_host"):
            return f"{self.host}{self.base_url}"
        else:
            return self.base_url
My URL

Full name.domain/path if using subdomains, otherwise just my /base/url
jupyterhub/user.py