Skip to content

Commit

Permalink
Fix/use lowercase https proxy environment variable (#152)
Browse files Browse the repository at this point in the history
* fix: use lowercase https_proxy env

* chore: version bumps
  • Loading branch information
jkoenig134 authored Jun 3, 2024
1 parent 87b3a49 commit 370f4b9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/runtime/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nmshd/runtime",
"version": "4.10.4",
"version": "4.10.5",
"description": "The enmeshed client runtime.",
"homepage": "https://enmeshed.eu",
"repository": {
Expand Down Expand Up @@ -59,7 +59,7 @@
"@nmshd/consumption": "3.11.0",
"@nmshd/content": "2.10.1",
"@nmshd/crypto": "2.0.6",
"@nmshd/transport": "2.7.3",
"@nmshd/transport": "2.7.4",
"ajv": "^8.13.0",
"ajv-errors": "^3.0.0",
"ajv-formats": "^3.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/transport/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nmshd/transport",
"version": "2.7.3",
"version": "2.7.4",
"description": "The transport library handles backbone communication and content encryption.",
"homepage": "https://enmeshed.eu",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions packages/transport/src/core/backbone/RESTClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ export class RESTClient {
defaults.headers = _.defaultsDeep({}, defaults.headers, this.config.platformAdditionalHeaders);
}

if (typeof window === "undefined" && process.env.HTTPS_PROXY) {
const httpsProxy = process.env.HTTPS_PROXY;
if (typeof window === "undefined" && process.env.https_proxy) {
const httpsProxy = process.env.https_proxy;
defaults.httpsAgent = new HttpsProxyAgent(httpsProxy, this.config.httpsAgentOptions);
} else {
try {
Expand Down

0 comments on commit 370f4b9

Please sign in to comment.