fix: request config
This commit is contained in:
@@ -120,7 +120,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
|
||||
},
|
||||
{
|
||||
timeout: 180000,
|
||||
...axiosConfig
|
||||
...axiosConfig()
|
||||
}
|
||||
);
|
||||
|
||||
@@ -196,7 +196,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
|
||||
{
|
||||
timeout: 180000,
|
||||
responseType: isStream ? 'stream' : 'json',
|
||||
...axiosConfig
|
||||
...axiosConfig()
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user