From f352c2e94806af7ce3adc7306212cd5434c4558a Mon Sep 17 00:00:00 2001 From: loicbersier Date: Wed, 17 Jul 2019 21:56:04 +0200 Subject: [PATCH] replace localhost to 127.0.0.1 --- 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 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',