fix(signup): change API endpoint from /api/gateway/auth/register to /api/auth/register
Some checks failed
build-and-release / build (push) Failing after 1m16s

This commit is contained in:
Ashwin Kumar Sivakumar 2026-07-05 14:56:11 +05:30
parent 0cf975f227
commit 07aa835da5
4 changed files with 4 additions and 4 deletions

View file

@ -156,7 +156,7 @@ export default function CompanySignupRoute() {
setSubmitting(true); setSubmitting(true);
try { try {
const res = await fetch("/api/gateway/auth/register", { const res = await fetch("/api/auth/register", {
method: "POST", method: "POST",
headers: { "Content-Type": "application/json", Accept: "application/json" }, headers: { "Content-Type": "application/json", Accept: "application/json" },
credentials: "include", credentials: "include",

View file

@ -154,7 +154,7 @@ export default function CustomerSignupRoute() {
setSubmitting(true); setSubmitting(true);
try { try {
const res = await fetch("/api/gateway/auth/register", { const res = await fetch("/api/auth/register", {
method: "POST", method: "POST",
headers: { "Content-Type": "application/json", Accept: "application/json" }, headers: { "Content-Type": "application/json", Accept: "application/json" },
credentials: "include", credentials: "include",

View file

@ -144,7 +144,7 @@ export default function JobSeekerSignupRoute() {
setSubmitting(true); setSubmitting(true);
try { try {
const res = await fetch("/api/gateway/auth/register", { const res = await fetch("/api/auth/register", {
method: "POST", method: "POST",
headers: { "Content-Type": "application/json", Accept: "application/json" }, headers: { "Content-Type": "application/json", Accept: "application/json" },
credentials: "include", credentials: "include",

View file

@ -161,7 +161,7 @@ export default function ProfessionalSignupRoute() {
setSubmitting(true); setSubmitting(true);
try { try {
const res = await fetch("/api/gateway/auth/register", { const res = await fetch("/api/auth/register", {
method: "POST", method: "POST",
headers: { "Content-Type": "application/json", Accept: "application/json" }, headers: { "Content-Type": "application/json", Accept: "application/json" },
credentials: "include", credentials: "include",