Skip to content

Commit

Permalink
Merge pull request #72 from cylqqqcyl/cyl-dev
Browse files Browse the repository at this point in the history
Cyl dev
  • Loading branch information
cylqqqcyl authored Nov 15, 2023
2 parents 73a0168 + b18a6a5 commit d7de232
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/frontend/src/pages/tts.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const Page = () => {
const responseData = await response.json();
if (responseData) {
if (response.ok) {
const audioResponse = await fetch(`http://localhost:5000/audio/${responseData.filename}`,
const audioResponse = await fetch(`${process.env.NEXT_PUBLIC_BACKEND_URL}/audio/${responseData.filename}`,
{
method: 'GET',
});
Expand Down

0 comments on commit d7de232

Please sign in to comment.