From b72e1b7146baa97a4f28499a01eb0d4e64a19876 Mon Sep 17 00:00:00 2001 From: "Milosz, Damian" Date: Sat, 15 Apr 2023 22:21:32 +0200 Subject: [PATCH] Fixed proxy support --- src/json-schema-content-provider.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/json-schema-content-provider.ts b/src/json-schema-content-provider.ts index 8971d943..a52115c0 100644 --- a/src/json-schema-content-provider.ts +++ b/src/json-schema-content-provider.ts @@ -47,7 +47,7 @@ export async function getJsonSchemaContent(uri: string, schemaCache: IJSONSchema const cachedETag = schemaCache.getETag(uri); const httpSettings = workspace.getConfiguration('http'); - configureHttpRequests(httpSettings.http && httpSettings.http.proxy, httpSettings.http && httpSettings.http.proxyStrictSSL); + configureHttpRequests(httpSettings.proxy, httpSettings.proxyStrictSSL); const headers: { [key: string]: string } = { 'Accept-Encoding': 'gzip, deflate' }; if (cachedETag) {