Skip to content

Commit

Permalink
Update API endpoint in useAgents hook
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Miller committed Feb 6, 2024
1 parent 1e1a7b3 commit b544d2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hooks/useAgents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export const useAgents = () => {
const { agents, setAgents } = useContext(AgentsContext);

const testFlask = async () => {
const response = await fetch("/api/test");
const response = await fetch("http://localhost:5000/test");
const data = await response.json();
console.log(data);
};
Expand Down

0 comments on commit b544d2c

Please sign in to comment.