Skip to content

Commit 028321c

Browse files
authored
Correctly use http.proxyStrictSSL setting (#919)
1 parent 3faea6f commit 028321c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ export class AtelierAPI {
286286
const agent = new http.Agent({
287287
keepAlive: true,
288288
maxSockets: 10,
289-
rejectUnauthorized: https && config("http.proxyStrictSSL"),
289+
rejectUnauthorized: https && vscode.workspace.getConfiguration("http").get("proxyStrictSSL"),
290290
});
291291

292292
let pathPrefix = this._config.pathPrefix || "";

0 commit comments

Comments
 (0)