From 07aa835da5d482e39fd8bf618b0aac85b7827afd Mon Sep 17 00:00:00 2001 From: Ashwin Kumar Sivakumar Date: Sun, 5 Jul 2026 14:56:11 +0530 Subject: [PATCH] fix(signup): change API endpoint from /api/gateway/auth/register to /api/auth/register --- src/routes/signup/company.tsx | 2 +- src/routes/signup/customer.tsx | 2 +- src/routes/signup/jobseeker.tsx | 2 +- src/routes/signup/professional.tsx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/routes/signup/company.tsx b/src/routes/signup/company.tsx index b6a144c..a0bfa48 100644 --- a/src/routes/signup/company.tsx +++ b/src/routes/signup/company.tsx @@ -156,7 +156,7 @@ export default function CompanySignupRoute() { setSubmitting(true); try { - const res = await fetch("/api/gateway/auth/register", { + const res = await fetch("/api/auth/register", { method: "POST", headers: { "Content-Type": "application/json", Accept: "application/json" }, credentials: "include", diff --git a/src/routes/signup/customer.tsx b/src/routes/signup/customer.tsx index 4e90f1f..88008c1 100644 --- a/src/routes/signup/customer.tsx +++ b/src/routes/signup/customer.tsx @@ -154,7 +154,7 @@ export default function CustomerSignupRoute() { setSubmitting(true); try { - const res = await fetch("/api/gateway/auth/register", { + const res = await fetch("/api/auth/register", { method: "POST", headers: { "Content-Type": "application/json", Accept: "application/json" }, credentials: "include", diff --git a/src/routes/signup/jobseeker.tsx b/src/routes/signup/jobseeker.tsx index d3580fc..dee5b76 100644 --- a/src/routes/signup/jobseeker.tsx +++ b/src/routes/signup/jobseeker.tsx @@ -144,7 +144,7 @@ export default function JobSeekerSignupRoute() { setSubmitting(true); try { - const res = await fetch("/api/gateway/auth/register", { + const res = await fetch("/api/auth/register", { method: "POST", headers: { "Content-Type": "application/json", Accept: "application/json" }, credentials: "include", diff --git a/src/routes/signup/professional.tsx b/src/routes/signup/professional.tsx index c41f774..505002f 100644 --- a/src/routes/signup/professional.tsx +++ b/src/routes/signup/professional.tsx @@ -161,7 +161,7 @@ export default function ProfessionalSignupRoute() { setSubmitting(true); try { - const res = await fetch("/api/gateway/auth/register", { + const res = await fetch("/api/auth/register", { method: "POST", headers: { "Content-Type": "application/json", Accept: "application/json" }, credentials: "include",