Skip to content

Commit

Permalink
Merge pull request #442 from muffl0n/add-proxy-support
Browse files Browse the repository at this point in the history
Add proxy support via global-agent
  • Loading branch information
chris48s committed Jun 3, 2024
2 parents 5fa8a18 + edd5298 commit 525dbf3
Show file tree
Hide file tree
Showing 4 changed files with 438 additions and 15 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,14 @@ The config file format is specified more formally in a JSON Schema:
- [machine-readable JSON](config-schema.json)
- [human-readable HTML](https://json-schema-viewer.vercel.app/view?url=https%3A%2F%2Fraw.githubusercontent.com%2Fchris48s%2Fv8r%2Fmain%2Fconfig-schema.json&show_breadcrumbs=on&template_name=flat)
## Configuring a Proxy
It is possible to configure a proxy via [global-agent](https://www.npmjs.com/package/global-agent) using the `GLOBAL_AGENT_HTTP_PROXY` environment variable:

```bash
export GLOBAL_AGENT_HTTP_PROXY=http://myproxy:8888
```

## Exit codes

* v8r always exits with code `0` when:
Expand Down
Loading

0 comments on commit 525dbf3

Please sign in to comment.