Skip to content

Commit

Permalink
fix localhost usage
Browse files Browse the repository at this point in the history
  • Loading branch information
cylqqqcyl committed Nov 15, 2023
1 parent c718825 commit b1e0035
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 b1e0035

Please sign in to comment.