mirror of
https://github.com/6dylan6/jdpro.git
synced 2026-04-13 15:50:08 +08:00
Compare commits
7 Commits
b295fa40e0
...
954400049c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
954400049c | ||
|
|
79cc32b013 | ||
|
|
9b4ef9d439 | ||
|
|
a868dadeab | ||
|
|
cc814b2817 | ||
|
|
95298ba5e8 | ||
|
|
b78a2abe1e |
@@ -78,6 +78,9 @@ if (process.env.DP_POOL) {
|
||||
try {
|
||||
require("global-agent/bootstrap");
|
||||
global.GLOBAL_AGENT.HTTP_PROXY = process.env.DP_POOL;
|
||||
if (process.env.NO_PROXY) {
|
||||
global.GLOBAL_AGENT.NO_PROXY = process.env.NO_PROXY;
|
||||
}
|
||||
console.log(`\n---------------使用代理池模式---------------\n`);
|
||||
} catch {
|
||||
throw new Error(`请安装global-agent依赖,才能启用代理!`);
|
||||
|
||||
File diff suppressed because one or more lines are too long
7
jd_opencard1031.js
Normal file
7
jd_opencard1031.js
Normal file
File diff suppressed because one or more lines are too long
7
jd_opencard1101.js
Normal file
7
jd_opencard1101.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user