diff --git a/src/git/remotes/google-source.ts b/src/git/remotes/google-source.ts index 06dc763..87523e2 100644 --- a/src/git/remotes/google-source.ts +++ b/src/git/remotes/google-source.ts @@ -18,8 +18,8 @@ export class GoogleSourceRemote extends GerritRemote { } private get reviewDomain(): string { - const [subdomain, secondLevelDomain, topLevelDomain] = this.domain.split('.'); - return [`${subdomain}-review`, secondLevelDomain, topLevelDomain].join('.'); + const [subdomain, ...domains] = this.domain.split('.'); + return [`${subdomain}-review`, ...domains].join('.'); } protected override get baseReviewUrl(): string {