api/processing: append audio extension to filename before response
This commit is contained in:
parent
c52aa76426
commit
438fce3c58
2 changed files with 6 additions and 7 deletions
|
@ -196,6 +196,10 @@ export default function({ r, host, audioFormat, isAudioOnly, isAudioMuted, disab
|
|||
break;
|
||||
}
|
||||
|
||||
if (defaultParams.filename && (action === "picker" || action === "audio")) {
|
||||
defaultParams.filename += `.${audioFormat}`;
|
||||
}
|
||||
|
||||
if (alwaysProxy && responseType === "redirect") {
|
||||
responseType = "tunnel";
|
||||
params.type = "proxy";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue