From f0840c234bacbae4e90e546ab29d5b63bb079e84 Mon Sep 17 00:00:00 2001 From: anoop narang Date: Mon, 15 Jun 2020 10:39:34 +0530 Subject: [PATCH] [ch12326] | Anoop | Fix schema url --- src/components/manifest/SchemaForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/manifest/SchemaForm.tsx b/src/components/manifest/SchemaForm.tsx index 84d7ab4..31d117b 100644 --- a/src/components/manifest/SchemaForm.tsx +++ b/src/components/manifest/SchemaForm.tsx @@ -32,7 +32,7 @@ export default function SchemaForm(props: IProps) { React.useEffect(() => { - fetch(`${window.config.BACKEND_URL}/schema/${props.name}`, { + fetch(`/api/schema/${props.name}`, { method: 'GET', credentials: 'include', headers: {