fix: correct endpoint

This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-06-09 09:23:11 -03:00
commit f6b892e32c
2 changed files with 2 additions and 2 deletions

View file

@ -49,7 +49,7 @@ export default function App() {
// Initialize state variable for the version
const [version, setVersion] = useState("");
useEffect(() => {
fetch("api/v1/version")
fetch("/version")
.then((res) => res.json())
.then((data) => {
setVersion(data.version);

View file

@ -311,7 +311,7 @@ export default function HomePage() {
<div className="truncate-doubleline">
{idx === 0
? "This flow creates an agent that accesses a department store database and APIs to monitor customer activity and overall storage."
: "This is a new tool"}
: "This is a new Flow"}
{/* {flow.description} */}
</div>
</CardDescription>