This commit is contained in:
Jared Furlow 2025-07-20 15:17:33 -05:00
parent 345d84c461
commit c9c11439aa

View File

@ -53,6 +53,7 @@ app.post("/uploadVideo", async (req, res) => {
console.log("FFmpeg caught error:", error); console.log("FFmpeg caught error:", error);
}) })
.finally(() => { .finally(() => {
console.log(`Completed processing ${fileInfo.filename}`);
fs.unlinkSync(targetPath); fs.unlinkSync(targetPath);
currentlyExecFfmpeg = false; currentlyExecFfmpeg = false;
}); });