简体   繁体   中英

How To Properly Setup HTTP or HTTPS PROXY in Deno

so i tried to fetch some resource ( filtered in my country ) with Deno
i opened Environment Variables window in windows and under the User Variables Section add
Variable Name: HTTP_PROXY
Variable Value: 195.45.78.1 : 25 [fake!]
but at the end i cant fetch resource it seems deno do not use that proxy, i tried at least 10 proxies i must mention that all of them was free proxies

maybe setup proxy wrong ... ?

You likely need to set HTTPS_PROXY in addition to (or instead of) HTTP_PROXY as most (perhaps all) of the resources you'll be downloading and fetching with Deno will use https .

Reference: Proxies | Manual | Deno

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM