diff --git a/src/pages/api/evaluate/speaking.ts b/src/pages/api/evaluate/speaking.ts index ce275aba..eb42337f 100644 --- a/src/pages/api/evaluate/speaking.ts +++ b/src/pages/api/evaluate/speaking.ts @@ -26,11 +26,11 @@ async function handler(req: NextApiRequest, res: NextApiResponse) { const binary = fs.readFileSync((audioFile as any).filepath).buffer; uploadBytes(audioFileRef, binary).then(async (snapshot) => { - const backendRequest = await axios.post(`${process.env.BACKEND_URL}/writing_task2`, req.body as Body, { - headers: { - Authorization: `Bearer ${process.env.BACKEND_JWT}`, - }, - }); + // const backendRequest = await axios.post(`${process.env.BACKEND_URL}/speaking_task`, req.body as Body, { + // headers: { + // Authorization: `Bearer ${process.env.BACKEND_JWT}`, + // }, + // }); fs.rmSync((audioFile as any).filepath); });