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
|
// Initialize state variable for the version
|
||||||
const [version, setVersion] = useState("");
|
const [version, setVersion] = useState("");
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
fetch("api/v1/version")
|
fetch("/version")
|
||||||
.then((res) => res.json())
|
.then((res) => res.json())
|
||||||
.then((data) => {
|
.then((data) => {
|
||||||
setVersion(data.version);
|
setVersion(data.version);
|
||||||
|
|
|
||||||
|
|
@ -311,7 +311,7 @@ export default function HomePage() {
|
||||||
<div className="truncate-doubleline">
|
<div className="truncate-doubleline">
|
||||||
{idx === 0
|
{idx === 0
|
||||||
? "This flow creates an agent that accesses a department store database and APIs to monitor customer activity and overall storage."
|
? "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} */}
|
{/* {flow.description} */}
|
||||||
</div>
|
</div>
|
||||||
</CardDescription>
|
</CardDescription>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue