We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8eb66b7 commit 7cd227aCopy full SHA for 7cd227a
frontend/src/pages/Login.jsx
@@ -137,7 +137,7 @@ const Login = ({ setIsAuthenticated, setUser }) => {
137
138
const handleGitHubLogin = async () => {
139
try {
140
- window.location.href = `${API}/auth/github`;
+ window.location.href = `${API}:5000/auth/github`;
141
} catch (error) {
142
toast.error("Erreur GitHub OAuth", {
143
position: "top-right",
0 commit comments