Skip to content

Commit

Permalink
done something
Browse files Browse the repository at this point in the history
  • Loading branch information
Jivraj-18 committed Nov 23, 2024
1 parent 9929e17 commit a1793f4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/GoogleLogin.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/components/NavBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
7 changes: 6 additions & 1 deletion src/components/PhotoCompetition.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit a1793f4

Please sign in to comment.