mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
Update proxy.md
This commit is contained in:
@@ -17,8 +17,8 @@ The `proxy` option is a URL string that specifies the proxy server. It can inclu
|
||||
|
||||
---
|
||||
|
||||
You can also set the `$PROXY_URL` environment variable to the proxy URL. This is useful when you want to use the same proxy for all requests.
|
||||
You can also set the `$HTTP_PROXY` or `$HTTPS_PROXY` environment variable to the proxy URL. This is useful when you want to use the same proxy for all requests.
|
||||
|
||||
```sh
|
||||
PROXY_URL=https://username:password@proxy.example.com:8080 bun run index.ts
|
||||
HTTPS_PROXY=https://username:password@proxy.example.com:8080 bun run index.ts
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user