auto push

This commit is contained in:
kinou-p 2023-06-15 18:15:04 +02:00
parent 3b1e80503b
commit d6356c6520

View File

@ -26,7 +26,7 @@ function HomeLogin()
return ; return ;
} }
// else // else
let path = "https://api.intra.42.fr/oauth/authorize?client_id=u-s4t2ud-6d29dfa49ba7146577ffd8bf595ae8d9e5aaa3e0a9615df18777171ebf836a41&redirect_uri=http%3A%2F%2F" + + "%3A80%2Fapi%2Fauth%2Flogin&response_type=code"; let path = "https://api.intra.42.fr/oauth/authorize?client_id=u-s4t2ud-6d29dfa49ba7146577ffd8bf595ae8d9e5aaa3e0a9615df18777171ebf836a41&redirect_uri=http%3A%2F%2F" + process.env.BASE_URL + "%3A80%2Fapi%2Fauth%2Flogin&response_type=code";
window.location.replace(path); window.location.replace(path);
}; };