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

@@ -22,7 +22,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
const data = await axios
.get(url, {
httpsAgent
httpsAgent: httpsAgent(false)
})
.then((res) => res.data as string);