瀏覽代碼

Fixes non-enterprise GitHub api call regression

main
Eric Amodio 2 年之前
父節點
當前提交
3e0d329581
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/git/remotes/github.ts

+ 1
- 1
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;

Loading…
取消
儲存