diff --git a/src/index.ts b/src/index.ts index 423b3e3..98c9816 100644 --- a/src/index.ts +++ b/src/index.ts @@ -19,7 +19,8 @@ app.post("/uploadVideo", async (req, res) => { const videoExt = fileInfo.filename.split(".").at(-1); var targetPath = path.join( - "./temp/", //"/opt/prod/storage/uploadsPart1" + //"./temp/", //"/opt/prod/storage/uploadsPart1" + "/opt/prod/storage/uploadsPart1", `${videoId}.${videoExt}` ); const fileStream = fs.createWriteStream(targetPath);