Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
To add proxy function, you only need to set the environment variable:…
Browse files Browse the repository at this point in the history
… export GLOBAL_AGENT_HTTP_PROXY=http://127.0.0.1:8001
  • Loading branch information
xiangxn committed Sep 28, 2023
1 parent 148d8ea commit 9c4aeff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions bin/near
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env node
require("global-agent/bootstrap");
const flaggedRespawn = require('flagged-respawn');
require('v8flags')((e, flags) => {
if (e) {
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@
"update-notifier": "^5.0.0",
"uuid": "^8.0.0",
"v8flags": "^3.1.3",
"yargs": "^16.0.3"
"yargs": "^16.0.3",
"global-agent": "^3.0.0"
},
"optionalDependencies": {
"@ledgerhq/hw-transport-node-hid": "^6.1.0",
Expand Down

0 comments on commit 9c4aeff

Please sign in to comment.