From 6877c51c0e3495dce39ef86b1825dd6dbb5a04d1 Mon Sep 17 00:00:00 2001 From: MasterAcnolo <68693319+MasterAcnolo@users.noreply.github.com> Date: Tue, 17 Feb 2026 10:26:54 +0100 Subject: [PATCH] Fix: Add Small Comms for clarity --- server/controller/download.controller.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server/controller/download.controller.js b/server/controller/download.controller.js index 597b290..bf4bd6b 100644 --- a/server/controller/download.controller.js +++ b/server/controller/download.controller.js @@ -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 !");