Skip to content

Commit

Permalink
Set filenamePattern for download file
Browse files Browse the repository at this point in the history
  • Loading branch information
n-ce authored Oct 31, 2023
1 parent 6f55b1d commit e605842
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/scripts/superModal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ downloadBtn.addEventListener('click', () => {
headers: { 'Accept': 'application/json', 'Content-Type': 'application/json' },
body: JSON.stringify({
url: streamUrl,
isAudioOnly: true
isAudioOnly: true,
filenamePattern: 'basic'
})
})
.then(_ => _.json())
Expand Down

0 comments on commit e605842

Please sign in to comment.