6dylan6 / jdpro

2.55k stars 388 forks source link

全局代理池增加排除列表 #570

Closed kkwwang closed 1 week ago

kkwwang commented 2 weeks ago

使用NO_PROXY环境变量排除全局代理池列表

6dylan6 commented 1 week ago

写死排除本地地址了

kkwwang commented 1 week ago
global.GLOBAL_AGENT.NO_PROXY = process.env.NO_PROXY || '127.0.0.1,localhost';

是不是更好,部分局域网地址可自行控制

6dylan6 commented 1 week ago

@kkwwang 可以