From cc1651cb66d2dcbfeaac8686fa381fc50222d85e Mon Sep 17 00:00:00 2001 From: Tarun Pal <87599402+iit2020098@users.noreply.github.com> Date: Thu, 5 Oct 2023 00:38:26 +0530 Subject: [PATCH] Update Signin.jsx --- frontend/src/components/Signin/Signin.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/Signin/Signin.jsx b/frontend/src/components/Signin/Signin.jsx index d105113..8ca5b8f 100644 --- a/frontend/src/components/Signin/Signin.jsx +++ b/frontend/src/components/Signin/Signin.jsx @@ -31,7 +31,7 @@ export const Signin = (props) => { console.log(formData); // Send a POST request to your backend API for user login - const response = await fetch("http://localhost:5000/api/login", { + const response = await fetch("https://test-syuq.onrender.com/api/login", { method: "POST", headers: { "Content-Type": "application/json", @@ -71,7 +71,7 @@ export const Signin = (props) => { const handleGitHubSignin = (e) => { e.preventDefault(); - window.location.href = "http://localhost:5000/auth/github"; + window.location.href = "https://test-syuq.onrender.com/auth/github"; }; // try { @@ -110,7 +110,7 @@ export const Signin = (props) => { const handleGoogleSignin = (e) => { e.preventDefault(); - window.location.href = "http://localhost:5000/auth/google"; + window.location.href = "https://test-syuq.onrender.com/auth/google"; }; return (