Skip to content

Commit

Permalink
Minor modifications in google callback URL
Browse files Browse the repository at this point in the history
  • Loading branch information
sikehish committed Jun 10, 2024
1 parent f94db7e commit b53a63c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ services:
build:
context: ./frontend
ports:
- "80:80"
- "5173:80"
volumes:
- /app/node_modules
- ./frontend:/app
Expand Down
5 changes: 2 additions & 3 deletions frontend/src/pages/auth/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
);
};
Expand Down

0 comments on commit b53a63c

Please sign in to comment.