fix api endpoint to match the current definition

This commit is contained in:
smirgol 2023-10-29 19:58:02 +01:00
parent b46f89b345
commit 3346420527

View File

@ -146,7 +146,7 @@ class SileroTtsProvider {
async initSession() { async initSession() {
console.info(`requesting new session`) console.info(`requesting new session`)
const response = await doExtrasFetch( const response = await doExtrasFetch(
`${this.settings.provider_endpoint}/init_session`, `${this.settings.provider_endpoint}/session`,
{ {
method: 'POST', method: 'POST',
headers: { headers: {