From 690ee619d108ecc7b255d64679e7aac361886eab Mon Sep 17 00:00:00 2001 From: loicbersier Date: Wed, 17 Jul 2019 21:50:03 +0200 Subject: [PATCH] use localhost server --- commands/fun/tts/dectalk.js | 2 +- commands/fun/tts/dectalkvc.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/fun/tts/dectalk.js b/commands/fun/tts/dectalk.js index 9ac2503a..08274748 100644 --- a/commands/fun/tts/dectalk.js +++ b/commands/fun/tts/dectalk.js @@ -33,7 +33,7 @@ class dectalkCommand extends Command { return axios.request({ responseType: 'arraybuffer', - url: `https://talk.moustacheminer.com/api/gen.wav?dectalk=${args.decMessage}`, + url: `http://localhost/api/gen.wav?dectalk=${args.decMessage}`, method: 'get', headers: { 'Content-Type': 'audio/wav', diff --git a/commands/fun/tts/dectalkvc.js b/commands/fun/tts/dectalkvc.js index 808a0f4b..05b26bec 100644 --- a/commands/fun/tts/dectalkvc.js +++ b/commands/fun/tts/dectalkvc.js @@ -33,7 +33,7 @@ class dectalkvcCommand extends Command { return axios.request({ responseType: 'arraybuffer', - url: `https://talk.moustacheminer.com/api/gen.wav?dectalk=${args.decMessage}`, + url: `http://localhost/api/gen.wav?dectalk=${args.decMessage}`, method: 'get', headers: { 'Content-Type': 'audio/wav',