Skip to content

Commit

Permalink
Fixed proxy support
Browse files Browse the repository at this point in the history
  • Loading branch information
dmilosz authored and gorkem committed May 25, 2023
1 parent cbe218e commit b72e1b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/json-schema-content-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit b72e1b7

Please sign in to comment.