Browse Source

Fixes #2304 supports more domain levels for GoogleSource

main
Matt Buckley 2 years ago
committed by GitHub
parent
commit
07143c8cd7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/git/remotes/google-source.ts

+ 2
- 2
src/git/remotes/google-source.ts View File

@ -18,8 +18,8 @@ export class GoogleSourceRemote extends GerritRemote {
} }
private get reviewDomain(): string { 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 { protected override get baseReviewUrl(): string {

Loading…
Cancel
Save