mirror of
https://github.com/6dylan6/jdpro.git
synced 2025-12-16 05:30:39 +00:00
多个大括号
This commit is contained in:
parent
b78a2abe1e
commit
9b4ef9d439
@ -80,7 +80,7 @@ if (process.env.DP_POOL) {
|
||||
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依赖,才能启用代理!`);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user