We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8facfa commit a715be2Copy full SHA for a715be2
src/configuration/configuration.ts
@@ -71,7 +71,7 @@ export function useEnterprise(): boolean {
71
export function getGitHubApiUri(): string {
72
if (!useEnterprise()) return DEFAULT_GITHUB_API;
73
const base = getConfiguration().get<string>("github-enterprise.uri", DEFAULT_GITHUB_API).replace(/\/$/, "");
74
- return base === DEFAULT_GITHUB_API ? base : `${base}/api/v3`;
+ return base === DEFAULT_GITHUB_API ? base : `api.${base}`;
75
}
76
77
async function updateLanguageServerApiUrl(context: vscode.ExtensionContext) {
0 commit comments