mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 13:46:13 +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...');
|
this._logger.info('Exchanging code for token...');
|
||||||
|
|
||||||
const proxyEndpoints: { [providerId: string]: string } | undefined = await vscode.commands.executeCommand('workbench.getCodeExchangeProxyEndpoints');
|
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 {
|
try {
|
||||||
const body = `code=${code}`;
|
const body = `code=${code}`;
|
||||||
|
|
Loading…
Reference in a new issue