diff --git a/frontend/src/pages/auth/Login.tsx b/frontend/src/pages/auth/Login.tsx index b32b5dd..ca48818 100644 --- a/frontend/src/pages/auth/Login.tsx +++ b/frontend/src/pages/auth/Login.tsx @@ -20,10 +20,11 @@ function Login() { const googleAuth = (e: any) => { e.preventDefault() window.open( - `http://langjam.us-east-1.elasticbeanstalk/api/oauth/google/callback`, + `/api/oauth/google/callback`, "_self" ); }; + }; // // OR //--> The below is returning undefined in Elastic Beanstalk // const googleAuth = (e: any) => { // e.preventDefault()