fix: correct endpoint
This commit is contained in:
parent
9e933c61c4
commit
f6b892e32c
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue