Fix: Add Small Comms for clarity

This commit is contained in:
MasterAcnolo
2026-02-17 10:26:54 +01:00
parent 5a41090175
commit 6877c51c0e

View File

@@ -18,6 +18,7 @@ async function downloadController(req, res) {
if (!options.url || !isValidUrl(options.url)) return res.status(400).send("❌ Invalid URL !");
if (options.outputFolder && !isSafePath(options.outputFolder)) return res.status(400).send("❌ Save Path Not Allowed.");
// Get output folder when the download is finished,
const filePath = await fetchDownload(options, listeners, speedListeners);
notifyDownloadFinished(filePath);
res.send("✅ Download Done !");