replace localhost to 127.0.0.1

This commit is contained in:
loicbersier 2019-07-17 21:56:04 +02:00
parent f14bcecbb8
commit f352c2e948
2 changed files with 2 additions and 2 deletions

View file

@ -33,7 +33,7 @@ class dectalkCommand extends Command {
return axios.request({ return axios.request({
responseType: 'arraybuffer', 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', method: 'get',
headers: { headers: {
'Content-Type': 'audio/wav', 'Content-Type': 'audio/wav',

View file

@ -33,7 +33,7 @@ class dectalkvcCommand extends Command {
return axios.request({ return axios.request({
responseType: 'arraybuffer', 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', method: 'get',
headers: { headers: {
'Content-Type': 'audio/wav', 'Content-Type': 'audio/wav',