get origin() {
        // If  we're building just a path there's no origin, otherwise: if this route has a
        // domain configured we construct the origin with that, if not we use the app URL
        return !this.config.absolute
            ? ''
            : this.definition.domain
              ? `${this.config.url.match(/^\w+:\/\//)[0]}${this.definition.domain}${
                    this.config.port ? `:${this.config.port}` : ''
                }`
              : this.config.url;
    }
Get a template of the origin for this route.

@example
https://{team}.ziggy.dev/

@return {String} Route origin template.