Skip to content

Commit

Permalink
Fix proxy-agent
Browse files Browse the repository at this point in the history
  • Loading branch information
TooTallNate committed Jul 13, 2023
1 parent f14fec9 commit a978702
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .changeset/plenty-spoons-repair.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
'proxy-agent': patch
'pac-proxy-agent': patch
---

Expand Down
10 changes: 5 additions & 5 deletions packages/proxy-agent/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ export const proxies: {
socks4a: [SocksProxyAgent, SocksProxyAgent],
socks5: [SocksProxyAgent, SocksProxyAgent],
socks5h: [SocksProxyAgent, SocksProxyAgent],
'pac-data': [PacProxyAgent, PacProxyAgent],
'pac-file': [PacProxyAgent, PacProxyAgent],
'pac-ftp': [PacProxyAgent, PacProxyAgent],
'pac-http': [PacProxyAgent, PacProxyAgent],
'pac-https': [PacProxyAgent, PacProxyAgent],
'pac+data': [PacProxyAgent, PacProxyAgent],
'pac+file': [PacProxyAgent, PacProxyAgent],
'pac+ftp': [PacProxyAgent, PacProxyAgent],
'pac+http': [PacProxyAgent, PacProxyAgent],
'pac+https': [PacProxyAgent, PacProxyAgent],
};

function isValidProtocol(v: string): v is ValidProtocol {
Expand Down

0 comments on commit a978702

Please sign in to comment.