|
@@ -740,7 +740,7 @@ export default {
|
|
|
if (that.audioPlayer && !that.audioPlayer.ended) {
|
|
|
that.audioPlayer.pause()
|
|
|
}
|
|
|
- that.audioPlayer = new Audio('http://125.89.55.135:10803' + res.msg)
|
|
|
+ that.audioPlayer = new Audio('http://47.107.166.80:8008' + res.msg)
|
|
|
that.audioPlayer.muted = that.ariaSettings.isMuted
|
|
|
that.audioPlayer.playbackRate = speechRateFactors[that.ariaSettings.speechRateLevel]
|
|
|
that.audioPlayer.oncanplaythrough = () => {
|
|
@@ -762,7 +762,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- XHR.open("POST", "http://125.89.55.135:10803/api/tts/toMp3")
|
|
|
+ XHR.open("POST", "http://47.107.166.80:8008/api/tts/toMp3")
|
|
|
XHR.setRequestHeader("Content-Type", "application/json;charset=UTF-8")
|
|
|
XHR.send(JSON.stringify({
|
|
|
content: text || this.elemType + (this.elemType ? ': ' : '') + this.elemDisc
|