Skip to content

Commit

Permalink
Merge pull request #42 from Shaurya0108/xavierlmendez-patch-1
Browse files Browse the repository at this point in the history
Update TextBox2.jsx
  • Loading branch information
Shaurya0108 authored Nov 6, 2023
2 parents 358d6c6 + e45fd2c commit a4f252a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FrontEnd/src/components/TextBox2.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default class ChatBox extends React.Component {
redirect: 'follow',
credentials: 'include' //Make sure to have this line for every Request. Or else the cookie won't be included in the requests
};
const response = await fetch("http://localhost:443/chatBot/query", requestOptions)
const response = await fetch("http://18.189.195.246:443/chatBot/query", requestOptions)
.then(response => response.json())

const result = response.res.generated_text
Expand Down Expand Up @@ -105,4 +105,4 @@ export default class ChatBox extends React.Component {
</div>
);
}
}
}

0 comments on commit a4f252a

Please sign in to comment.