1
0
Fork 0

replace localhost to 127.0.0.1

akairo
loicbersier 5 years ago
parent f14bcecbb8
commit f352c2e948

@ -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',

@ -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',

Loading…
Cancel
Save