From f335dc92f569c9e7c52ab8721db18aa048754063 Mon Sep 17 00:00:00 2001 From: omri Date: Sat, 13 Jul 2024 22:37:40 +0300 Subject: [PATCH] add api endpoint --- frontend/src/RelayForm.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/RelayForm.tsx b/frontend/src/RelayForm.tsx index 581219c..1402fc3 100644 --- a/frontend/src/RelayForm.tsx +++ b/frontend/src/RelayForm.tsx @@ -8,7 +8,8 @@ type Assignment = { events: string[]; }; -const backend = axios.create({ baseURL: "http://backend:1308" }); +// TODO: this is prod link so maybe add config +const backend = axios.create({ baseURL: "https://api.relay.kehilush.com" }); const RelayForm: React.FC = () => { const [forms, setForms] = useState<{ [key: string]: React.ReactNode }>({});