From 5cbda61ea3590a88ba5f1262704cc2bd72fbf83e Mon Sep 17 00:00:00 2001 From: ABHIRUP Date: Sat, 19 Aug 2023 22:51:35 +0530 Subject: [PATCH] base route changed in .env --- client/app/register/page.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/app/register/page.js b/client/app/register/page.js index 487df3b..cbd16e4 100644 --- a/client/app/register/page.js +++ b/client/app/register/page.js @@ -15,7 +15,7 @@ const index = () => { const onSubmit = async (form_data) => { SetIsLoading(true); try { - const { data } = await axios_instance.post('/api/v1/member', { + const { data } = await axios_instance.post('/member', { name: form_data?.name, email: form_data?.email, rollno: form_data?.rollno,