use ytdlpMaxResolution instead of the temporary hardcoded value

Slash-V14
Supositware 3 months ago
parent e6dca692ed
commit 89f00a2fcf

@ -1,7 +1,6 @@
import os from 'node:os';
import { execFile } from 'node:child_process';
const { NODE_ENV } = process.env;
const ytdlpMaxResolution = 2160;
const { NODE_ENV, ytdlpMaxResolution } = process.env;
export default {
downloadVideo,

Loading…
Cancel
Save