diff --git a/src/views/Login.vue b/src/views/Login.vue index 8fc7346..503f3ef 100644 --- a/src/views/Login.vue +++ b/src/views/Login.vue @@ -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; } - \ No newline at end of file +