Commit 9759b23d authored by mingyard's avatar mingyard

feat:返回url

parent c61466ca
......@@ -201,7 +201,7 @@ export class TranslateController {
provider: voice.provider,
});
return `${config.obs.endpoint}/${result.filename}`;
return { url: `${config.obs.endpoint}/${result.filename}` };
}
// 获取语音合成支持的语音列表
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment