fix: Added variables for node process args and YouTube cookie to .env file

This commit is contained in:
Marius Begby committed 2023-07-13 18:28:56 +02:00
1 parent c119c10483
commit 2df30c5d5f
2 files changed
+5 -1

No files matched your search

+2 -1
View File
@@ -44,7 +44,8 @@ onBeforeCreateStream(async (track) => {
await stream(track.url, {
type: 'audio',
quality: 'high',
highWaterMark: 1 << 25
highWaterMark: 1 << 25,
cookie: process.env.YOUTUBE_COOKIE || ''
})
).stream;
}