Skip to content

Commit

Permalink
Fix query string key name
Browse files Browse the repository at this point in the history
  • Loading branch information
ThatGuySam committed May 6, 2024
1 parent de567a1 commit ddac52f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers/get-ffmpeg-url.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export async function getFfmpegUrl ( options: GetFfmpegUrlOptions ) {
'mp4',
].join( '/' )

const ytdlUrl = new URL( `${ videoApiHost }/api/info?q=${ videoUrl }&f=${ formatOptions }` )
const ytdlUrl = new URL( `${ videoApiHost }/api/info?query=${ videoUrl }&f=${ formatOptions }` )

// console.log('ytdlUrl', ytdlUrl)

Expand Down

0 comments on commit ddac52f

Please sign in to comment.