change login btn : suseendhiran

This commit is contained in:
suseendhiran17 2022-11-29 10:45:28 +05:30
parent 65ea397989
commit ff6321e0c1

View File

@ -12,7 +12,7 @@
function handleCredentialResponse(response) {
const responsePayload = JSON.parse(atob(response.credential.split('.')[1]));
// window.location.replace(`http://localhost:8080/api/getRow?email=${responsePayload.email}`);
window.location = `${ window.location.origin }/api/getRow?email=${responsePayload.email}`;
window.location = `${ window.location.origin }/gsheet/api/getRow?email=${responsePayload.email}`;
}
window.onload = function () {