Skip to content

Commit

Permalink
update: deploying frontend.
Browse files Browse the repository at this point in the history
  • Loading branch information
ashutosh7i committed Nov 14, 2023
1 parent 61b7edd commit ce13470
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
7 changes: 5 additions & 2 deletions client/chakra-client/src/components/Authentication/Login.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
export default function Login() {
window.open("http://localhost:5000/auth/google", "_self");
console.log("Login")
window.open(
"https://soc.centralindia.cloudapp.azure.com/auth/google",
"_self"
);
console.log("Login");
}
5 changes: 4 additions & 1 deletion client/chakra-client/src/components/Authentication/Logout.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
export default function Logout() {
window.open("http://localhost:5000/auth/logout", "_self");
window.open(
"https://soc.centralindia.cloudapp.azure.com/auth/logout",
"_self"
);
console.log("Logout");
alert("You have been logged out");
}

0 comments on commit ce13470

Please sign in to comment.