This commit is contained in:
Jared Furlow 2025-06-23 18:13:08 -05:00
parent f742b97c90
commit 3814d89e1d

View File

@ -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);