Updated the InteractiveSpeaking to also work with the session persistence
This commit is contained in:
@@ -28,7 +28,6 @@ async function handler(req: NextApiRequest, res: NextApiResponse) {
|
||||
}
|
||||
|
||||
const audioFile = files.audio;
|
||||
console.log({fields}, (audioFile as any).path);
|
||||
const audioFileRef = ref(storage, `${fields.root}/${(audioFile as any).path.split("/").pop()!.replace("upload_", "")}`);
|
||||
|
||||
const binary = fs.readFileSync((audioFile as any).path).buffer;
|
||||
|
||||
Reference in New Issue
Block a user