diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index b38c275..71130d8 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -15,7 +15,7 @@ services: build: context: ./frontend ports: - - "80:80" + - "5173:80" volumes: - /app/node_modules - ./frontend:/app diff --git a/frontend/src/pages/auth/Login.tsx b/frontend/src/pages/auth/Login.tsx index da56923..b32b5dd 100644 --- a/frontend/src/pages/auth/Login.tsx +++ b/frontend/src/pages/auth/Login.tsx @@ -16,12 +16,11 @@ function Login() { login({ email, password }); }; - console.log(import.meta.env.VITE_REACT_APP_API_URL) - + const googleAuth = (e: any) => { e.preventDefault() window.open( - `/api/oauth/google/callback`, + `http://langjam.us-east-1.elasticbeanstalk/api/oauth/google/callback`, "_self" ); };