From a1793f4935e96029f5b006ea483cc21789d9c8a8 Mon Sep 17 00:00:00 2001 From: jivraj-18 <22f3002542@ds.study.iitm.ac.in> Date: Sat, 23 Nov 2024 11:24:08 +0000 Subject: [PATCH] done something --- src/components/GoogleLogin.vue | 2 +- src/components/NavBar.vue | 2 +- src/components/PhotoCompetition.vue | 7 ++++++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/components/GoogleLogin.vue b/src/components/GoogleLogin.vue index d3c0081..4ef99a3 100644 --- a/src/components/GoogleLogin.vue +++ b/src/components/GoogleLogin.vue @@ -76,7 +76,7 @@ export default { client_id: "1043737632690-hogp7qi303vimd5tflakfhvduodkfjjh.apps.googleusercontent.com", scope: "email profile openid", - redirect_uri: "https://sundarbans-website.vercel.app/", + redirect_uri: "https://sundarbans.iitmbs.org/", callback: response => { if (response.code) { this.sendCodeToBackend(response.code); diff --git a/src/components/NavBar.vue b/src/components/NavBar.vue index 6c74092..f1d80ba 100644 --- a/src/components/NavBar.vue +++ b/src/components/NavBar.vue @@ -193,7 +193,7 @@ client_id: "1043737632690-hogp7qi303vimd5tflakfhvduodkfjjh.apps.googleusercontent.com", scope: "email profile openid", - redirect_uri: "https://sundarbans-website.vercel.app/", + redirect_uri: "https://sundarbans.iitmbs.org/", callback: response => { if (response.code) { this.sendCodeToBackend(response.code); diff --git a/src/components/PhotoCompetition.vue b/src/components/PhotoCompetition.vue index 3a54ed0..6f32e24 100644 --- a/src/components/PhotoCompetition.vue +++ b/src/components/PhotoCompetition.vue @@ -391,11 +391,16 @@ export default { client_id: "1043737632690-hogp7qi303vimd5tflakfhvduodkfjjh.apps.googleusercontent.com", scope: "email profile openid", - redirect_uri: "https://sundarbans-website.vercel.app/", + redirect_uri: "https://sundarbans.iitmbs.org/", callback: response => { if (response.code) { this.sendCodeToBackend(response.code); } + else { + alert( + "Error from google server" + ) + } } }) .requestCode();