diff --git a/commands/fun/tts/dectalk.js b/commands/fun/tts/dectalk.js index 4ceb50c2..ee5e6a8b 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: `http://localhost:8080/api/gen.wav?dectalk=${args.decMessage}`, + url: `http://127.0.0.1:8080/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 0baaeebb..96c481e6 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: `http://localhost:8080/api/gen.wav?dectalk=${args.decMessage}`, + url: `http://127.0.0.1:8080/api/gen.wav?dectalk=${args.decMessage}`, method: 'get', headers: { 'Content-Type': 'audio/wav',