From 7ff3638afbf8e99268f9a777169bd0e1b1bf234f Mon Sep 17 00:00:00 2001 From: Bhanu Prakash Sai Potteri Date: Fri, 22 May 2026 22:32:49 +0530 Subject: [PATCH] Fix login endpoint to /usr/login (sandbox ingress) --- src/hooks/useAuth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/useAuth.ts b/src/hooks/useAuth.ts index 173fc82..52f0a42 100644 --- a/src/hooks/useAuth.ts +++ b/src/hooks/useAuth.ts @@ -34,7 +34,7 @@ export function useAuth() { async ({ email, password, orgId }: LoginParams) => { setState((s) => ({ ...s, loading: true, error: null })); try { - const res = await fetch(`${apiUrl}/login`, { + const res = await fetch(`${apiUrl}/usr/login`, { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({