Skip to content

Commit

Permalink
修改默认音频格式
Browse files Browse the repository at this point in the history
  • Loading branch information
wxxxcxx authored Jun 11, 2024
1 parent 91547d6 commit f4afb30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/ra.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module.exports = async (request: Request, response: Response) => {
}

try {
let format = request.headers['format'] || 'audio-16khz-32kbitrate-mono-mp3'
let format = request.headers['format'] || 'audio-24khz-48kbitrate-mono-mp3'
if (Array.isArray(format)) {
throw `无效的音频格式:${format}`
}
Expand Down

0 comments on commit f4afb30

Please sign in to comment.