Test
This commit is contained in:
parent
f742b97c90
commit
3814d89e1d
@ -19,7 +19,8 @@ app.post("/uploadVideo", async (req, res) => {
|
|||||||
const videoExt = fileInfo.filename.split(".").at(-1);
|
const videoExt = fileInfo.filename.split(".").at(-1);
|
||||||
|
|
||||||
var targetPath = path.join(
|
var targetPath = path.join(
|
||||||
"./temp/", //"/opt/prod/storage/uploadsPart1"
|
//"./temp/", //"/opt/prod/storage/uploadsPart1"
|
||||||
|
"/opt/prod/storage/uploadsPart1",
|
||||||
`${videoId}.${videoExt}`
|
`${videoId}.${videoExt}`
|
||||||
);
|
);
|
||||||
const fileStream = fs.createWriteStream(targetPath);
|
const fileStream = fs.createWriteStream(targetPath);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user