mirror of
https://github.com/microsoft/vscode.git
synced 2026-02-23 03:07:58 +00:00
remove leading / so that local dev would work
This commit is contained in:
@@ -323,7 +323,7 @@ export class GitHubServer implements IGitHubServer {
|
||||
this._logger.info('Exchanging code for token...');
|
||||
|
||||
const proxyEndpoints: { [providerId: string]: string } | undefined = await vscode.commands.executeCommand('workbench.getCodeExchangeProxyEndpoints');
|
||||
const endpointUrl = proxyEndpoints?.github ? `${proxyEndpoints.github}/login/oauth/access_token` : GITHUB_TOKEN_URL;
|
||||
const endpointUrl = proxyEndpoints?.github ? `${proxyEndpoints.github}login/oauth/access_token` : GITHUB_TOKEN_URL;
|
||||
|
||||
try {
|
||||
const body = `code=${code}`;
|
||||
|
||||
Reference in New Issue
Block a user