forked from Supositware/Haha-Yes
use localhost server
This commit is contained in:
parent
2521f18778
commit
690ee619d1
2 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ class dectalkCommand extends Command {
|
||||||
|
|
||||||
return axios.request({
|
return axios.request({
|
||||||
responseType: 'arraybuffer',
|
responseType: 'arraybuffer',
|
||||||
url: `https://talk.moustacheminer.com/api/gen.wav?dectalk=${args.decMessage}`,
|
url: `http://localhost/api/gen.wav?dectalk=${args.decMessage}`,
|
||||||
method: 'get',
|
method: 'get',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'audio/wav',
|
'Content-Type': 'audio/wav',
|
||||||
|
|
|
@ -33,7 +33,7 @@ class dectalkvcCommand extends Command {
|
||||||
|
|
||||||
return axios.request({
|
return axios.request({
|
||||||
responseType: 'arraybuffer',
|
responseType: 'arraybuffer',
|
||||||
url: `https://talk.moustacheminer.com/api/gen.wav?dectalk=${args.decMessage}`,
|
url: `http://localhost/api/gen.wav?dectalk=${args.decMessage}`,
|
||||||
method: 'get',
|
method: 'get',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'audio/wav',
|
'Content-Type': 'audio/wav',
|
||||||
|
|
Loading…
Reference in a new issue