mirror of
https://gitlab.com/little-lines/frontend.git
synced 2024-11-22 07: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:
|
client_id:
|
||||||
import.meta.env.VITE_CLIENT_ID,
|
import.meta.env.VITE_CLIENT_ID,
|
||||||
scope: "email profile openid",
|
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 => {
|
callback: response => {
|
||||||
if (response.code) {
|
if (response.code) {
|
||||||
this.sendCodeToBackend(response.code);
|
this.sendCodeToBackend(response.code);
|
||||||
|
@ -151,7 +151,7 @@ export default {
|
||||||
const headers = {
|
const headers = {
|
||||||
Authorization: code
|
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;
|
const userDetails = response.data;
|
||||||
console.log("User Details:", userDetails);
|
console.log("User Details:", userDetails);
|
||||||
this.userDetails = userDetails;
|
this.userDetails = userDetails;
|
||||||
|
|
Loading…
Reference in a new issue