diff --git a/backend/src/services/ytdlp.ts b/backend/src/services/ytdlp.ts index 4555ce3..d1238dc 100644 --- a/backend/src/services/ytdlp.ts +++ b/backend/src/services/ytdlp.ts @@ -2,7 +2,7 @@ import { spawn } from 'child_process'; import path from 'path'; import fs from 'fs'; -const DOWNLOADS_DIR = path.join(__dirname, '../../downloads'); +const DOWNLOADS_DIR = '/var/www/vidrip/downloads'; // Ensure downloads directory exists if (!fs.existsSync(DOWNLOADS_DIR)) {