From f74c1e96c1f4a9138e7354476c1b000541fbbbba Mon Sep 17 00:00:00 2001 From: Steve Brownlee Date: Thu, 10 Oct 2024 17:35:39 -0400 Subject: [PATCH] DOn't use localhost --- src/components/teams/WeeklyTeams.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/teams/WeeklyTeams.js b/src/components/teams/WeeklyTeams.js index 9e99de3..5676798 100644 --- a/src/components/teams/WeeklyTeams.js +++ b/src/components/teams/WeeklyTeams.js @@ -263,7 +263,7 @@ export const WeeklyTeams = () => { studentArray = [...studentArray, ...coaches] fetchPromises.push( - fetchIt(`http://localhost:8000/teams`, { + fetchIt(`${Settings.apiHost}/teams`, { method: "POST", body: JSON.stringify({ cohort: activeCohort,