Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
swuecho committed Dec 10, 2023
1 parent 2857fe2 commit a85926a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/views/chat/components/AudioPlayer/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ async function playAudio() {
let text = encodeURIComponent(props.text)
try {
// Perform the HTTP request to send the request to the backend.
const response = await request.get(`/tts?text=${text}`, { cache: 'no-cache', responseType: 'blob' });
const response = await request.get(`/tts?text=${text}`, { responseType: 'blob' });
console.log(response)
if (response.status == 200) {
// If the HTTP response is successful, parse the body into an object and play the sound.
Expand Down

0 comments on commit a85926a

Please sign in to comment.