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",