From 3cf3d404822740faa410e38da2dc947e2cd9871e Mon Sep 17 00:00:00 2001 From: Hongbo Wu Date: Wed, 7 Sep 2022 22:48:40 +0800 Subject: [PATCH] Replace speech-file with speech in the route --- packages/api/src/routers/article_router.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/api/src/routers/article_router.ts b/packages/api/src/routers/article_router.ts index 89f164838..e1415b6d4 100644 --- a/packages/api/src/routers/article_router.ts +++ b/packages/api/src/routers/article_router.ts @@ -29,7 +29,7 @@ interface SpeechInput { secondaryVoice?: string priority?: 'low' | 'high' } -const outputFormats = ['mp3', 'speech-marks', 'speech-file'] +const outputFormats = ['mp3', 'speech-marks', 'speech'] const logger = buildLogger('app.dispatch') export function articleRouter() {