perf: 专线代理配置

This commit is contained in:
archer
2023-04-08 20:49:15 +08:00
parent 52d00d0562
commit 705ac1c27e
15 changed files with 52 additions and 32 deletions

View File

@@ -76,7 +76,7 @@ export async function generateAbstract(next = false): Promise<any> {
},
{
timeout: 120000,
httpsAgent
httpsAgent: httpsAgent(!userApiKey)
}
);

View File

@@ -91,7 +91,7 @@ export async function generateQA(next = false): Promise<any> {
},
{
timeout: 180000,
httpsAgent
httpsAgent: httpsAgent(!userApiKey)
}
)
.then((res) => {