Skip to content

Commit 1d1df39

Browse files
authored
Add env variable to silence tls errors (#1212)
1 parent a3efd20 commit 1d1df39

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
- `apollo-tools`
3232
- <First `apollo-tools` related entry goes here>
3333
- `vscode-apollo`
34-
- <First `vscode-apollo` related entry goes here>
34+
- Add env variable to silence TLS errors [#1212](https://github.com/apollographql/apollo-tooling/pull/1212)
3535

3636
## `apollo@2.10.3`
3737

packages/vscode-apollo/src/languageServerClient.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ export function getLanguageServerClient(
1515
const env = {
1616
APOLLO_CLIENT_NAME: "Apollo VS Code",
1717
APOLLO_CLIENT_VERSION: version,
18-
APOLLO_CLIENT_REFERENCE_ID: referenceID
18+
APOLLO_CLIENT_REFERENCE_ID: referenceID,
19+
NODE_TLS_REJECT_UNAUTHORIZED: 0
1920
};
2021

2122
const debugOptions = {

0 commit comments

Comments
 (0)