From 3e0d32958117d73b6c2c37617557494f9846a3ae Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Fri, 22 Jul 2022 13:08:56 -0400 Subject: [PATCH] Fixes non-enterprise GitHub api call regression --- src/git/remotes/github.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/git/remotes/github.ts b/src/git/remotes/github.ts index 097a4bf..e520343 100644 --- a/src/git/remotes/github.ts +++ b/src/git/remotes/github.ts @@ -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;