Browse Source

Fixes non-enterprise GitHub api call regression

main
Eric Amodio 2 years ago
parent
commit
3e0d329581
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/git/remotes/github.ts

+ 1
- 1
src/git/remotes/github.ts View File

@ -35,7 +35,7 @@ export class GitHubRemote extends RichRemoteProvider {
}
get apiBaseUrl() {
return this.custom ? `${this.protocol}://${this.domain}/api/v3` : `https://${this.domain}/api/v3`;
return this.custom ? `${this.protocol}://${this.domain}/api/v3` : `https://api.${this.domain}`;
}
private _autolinks: (AutolinkReference | DynamicAutolinkReference)[] | undefined;

Loading…
Cancel
Save