From fc0d0bc4be655c69ecc72b476b0dab7ee77bfea5 Mon Sep 17 00:00:00 2001 From: haider Date: Tue, 14 Jan 2025 14:44:02 +0000 Subject: [PATCH] Remove Extra Slash in URL --- frontend/src/pages/DefinedResponseFields.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pages/DefinedResponseFields.tsx b/frontend/src/pages/DefinedResponseFields.tsx index 8a32c085..658f7703 100644 --- a/frontend/src/pages/DefinedResponseFields.tsx +++ b/frontend/src/pages/DefinedResponseFields.tsx @@ -14,7 +14,7 @@ export default function StaticDocs() { const [fields, setFields] = useState([]); useEffect(() => { - fetch(process.env.REACT_APP_APIURL+'/api/v2/defined-fields') + fetch(process.env.REACT_APP_APIURL+'api/v2/defined-fields') .then((response) => response.json()) .then((data) => setFields(data)) .catch((error) => console.error('Error fetching defined fields:', error));