mirror of
https://gitlab.com/little-lines/frontend.git
synced 2024-11-21 19:36:53 +00:00
Change from localhost to actual LL backend
This commit is contained in:
parent
419d6d9813
commit
9cff6bd7ec
1 changed files with 3 additions and 3 deletions
|
@ -136,7 +136,7 @@ export default {
|
|||
client_id:
|
||||
import.meta.env.VITE_CLIENT_ID,
|
||||
scope: "email profile openid",
|
||||
redirect_uri: "http://localhost:5000/api/users/googleAuth/callback",
|
||||
redirect_uri: "https://little-lines-backend.techtransthai.org/api/users/googleAuth/callback",
|
||||
callback: response => {
|
||||
if (response.code) {
|
||||
this.sendCodeToBackend(response.code);
|
||||
|
@ -151,7 +151,7 @@ export default {
|
|||
const headers = {
|
||||
Authorization: code
|
||||
};
|
||||
const response = await axios.post("http://localhost:5000/api/users/googleAuth", null, { headers });
|
||||
const response = await axios.post("https://little-lines-backend.techtransthai.org/api/users/googleAuth", null, { headers });
|
||||
const userDetails = response.data;
|
||||
console.log("User Details:", userDetails);
|
||||
this.userDetails = userDetails;
|
||||
|
@ -190,4 +190,4 @@ export default {
|
|||
justify-content: center;
|
||||
align-content: center;
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
|
Loading…
Reference in a new issue