Update downloads dir
This commit is contained in:
parent
da965f4324
commit
17d9e24f98
|
|
@ -2,7 +2,7 @@ import { spawn } from 'child_process';
|
||||||
import path from 'path';
|
import path from 'path';
|
||||||
import fs from 'fs';
|
import fs from 'fs';
|
||||||
|
|
||||||
const DOWNLOADS_DIR = path.join(__dirname, '../../downloads');
|
const DOWNLOADS_DIR = '/var/www/vidrip/downloads';
|
||||||
|
|
||||||
// Ensure downloads directory exists
|
// Ensure downloads directory exists
|
||||||
if (!fs.existsSync(DOWNLOADS_DIR)) {
|
if (!fs.existsSync(DOWNLOADS_DIR)) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue