This website requires JavaScript.
Explore
Help
Register
Sign In
Ayuriel
/
openclaw
Watch
1
Star
0
Fork
0
You've already forked openclaw
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
openclaw
/
src
/
telegram
/
proxy.ts
2 lines
62 B
TypeScript
Raw
Normal View
History
Unescape
Escape
refactor: extract shared proxy-fetch utility from Telegram module Move makeProxyFetch to src/infra/net/proxy-fetch.ts and add resolveProxyFetchFromEnv which reads standard proxy env vars (HTTPS_PROXY, HTTP_PROXY, and lowercase variants) and returns a proxy-aware fetch via undici's EnvHttpProxyAgent. Telegram re-exports from the shared location to avoid duplication.
2026-02-28 01:41:20 -03:00
export
{
makeProxyFetch
}
from
"../infra/net/proxy-fetch.js"
;
Reference in New Issue
Copy Permalink