forked from Supositware/Haha-Yes
use ytdlpMaxResolution instead of the temporary hardcoded value
This commit is contained in:
parent
e6dca692ed
commit
89f00a2fcf
1 changed files with 1 additions and 2 deletions
|
@ -1,7 +1,6 @@
|
||||||
import os from 'node:os';
|
import os from 'node:os';
|
||||||
import { execFile } from 'node:child_process';
|
import { execFile } from 'node:child_process';
|
||||||
const { NODE_ENV } = process.env;
|
const { NODE_ENV, ytdlpMaxResolution } = process.env;
|
||||||
const ytdlpMaxResolution = 2160;
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
downloadVideo,
|
downloadVideo,
|
||||||
|
|
Loading…
Reference in a new issue