From d6762d51c17900d8dbbc8bde8b036e2825d89544 Mon Sep 17 00:00:00 2001 From: Jared Furlow Date: Mon, 23 Jun 2025 18:24:37 -0500 Subject: [PATCH] Test --- dist/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/index.js b/dist/index.js index 265c0a2..eaa1371 100644 --- a/dist/index.js +++ b/dist/index.js @@ -14,7 +14,7 @@ app.post("/uploadVideo", async (req, res) => { req.busboy.on("file", (fieldname, uploadingFile, fileInfo) => { console.log(`Saving ${fileInfo.filename} as ${videoId}`); const videoExt = fileInfo.filename.split(".").at(-1); - var targetPath = path.join("./temp/", `${videoId}.${videoExt}`); + var targetPath = path.join("/opt/prod/storage/uploadsPart1", `${videoId}.${videoExt}`); const fileStream = fs.createWriteStream(targetPath); uploadingFile.pipe(fileStream); fileStream.on("close", () => {