Skip to content

Commit a715be2

Browse files
authored
Update configuration.ts
1 parent d8facfa commit a715be2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/configuration/configuration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export function useEnterprise(): boolean {
7171
export function getGitHubApiUri(): string {
7272
if (!useEnterprise()) return DEFAULT_GITHUB_API;
7373
const base = getConfiguration().get<string>("github-enterprise.uri", DEFAULT_GITHUB_API).replace(/\/$/, "");
74-
return base === DEFAULT_GITHUB_API ? base : `${base}/api/v3`;
74+
return base === DEFAULT_GITHUB_API ? base : `api.${base}`;
7575
}
7676

7777
async function updateLanguageServerApiUrl(context: vscode.ExtensionContext) {

0 commit comments

Comments
 (0)