Skip to content

Commit b72e1b7

Browse files
dmiloszgorkem
authored andcommitted
Fixed proxy support
1 parent cbe218e commit b72e1b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/json-schema-content-provider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export async function getJsonSchemaContent(uri: string, schemaCache: IJSONSchema
4747
const cachedETag = schemaCache.getETag(uri);
4848

4949
const httpSettings = workspace.getConfiguration('http');
50-
configureHttpRequests(httpSettings.http && httpSettings.http.proxy, httpSettings.http && httpSettings.http.proxyStrictSSL);
50+
configureHttpRequests(httpSettings.proxy, httpSettings.proxyStrictSSL);
5151

5252
const headers: { [key: string]: string } = { 'Accept-Encoding': 'gzip, deflate' };
5353
if (cachedETag) {

0 commit comments

Comments
 (0)