mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 04:49:35 +00:00
remove leading / so that local dev would work
This commit is contained in:
parent
8342a509d9
commit
bee517564c
|
@ -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}`;
|
||||
|
|
Loading…
Reference in a new issue