forgot to call the function lol
This commit is contained in:
parent
7871a67084
commit
eae840c54e
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -62,7 +62,7 @@ app.get('/download', (req, res) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set the output file path
|
// Set the output file path
|
||||||
var outputPath = path.join('/tmp/downloads', `${getRandomHex}.mp4`);
|
var outputPath = path.join('/tmp/downloads', `${getRandomHex()}.mp4`);
|
||||||
|
|
||||||
// Create /tmp/downloads directory if it doesn't exist
|
// Create /tmp/downloads directory if it doesn't exist
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in a new issue