More strict SSL proxy setting fixes (#22404)

This commit is contained in:
Charles Gagnon
2023-03-22 12:45:51 -07:00
committed by GitHub
parent a3e77c674c
commit ca4722360a
5 changed files with 5 additions and 5 deletions

View File

@@ -81,7 +81,7 @@ export class ServiceClient {
const config = JSON.parse(rawConfig.toString());
config.installDirectory = path.join(context.extensionPath, config.installDirectory);
config.proxy = vscode.workspace.getConfiguration('http').get('proxy');
config.strictSSL = vscode.workspace.getConfiguration('http').get('proxyStrictSSL') || true;
config.strictSSL = vscode.workspace.getConfiguration('http').get('proxyStrictSSL', true);
const serverdownloader = new ServerProvider(config);
serverdownloader.eventEmitter.onAny(this.generateHandleServerProviderEvent());
return serverdownloader.getOrDownloadServer();