From 17d9e24f988f6aa95f8a4049c1c30fb6754ae126 Mon Sep 17 00:00:00 2001 From: Ryan Whytsell Date: Tue, 21 Oct 2025 19:36:33 -0400 Subject: [PATCH] Update downloads dir --- backend/src/services/ytdlp.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) {