diff --git a/commands/fun/tts/dectalk.js b/commands/fun/tts/dectalk.js index 4ceb50c..ee5e6a8 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 0baaeeb..96c481e 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',