Skip to content

Commit 5460a72

Browse files
committed
resolve double slash error for cors
1 parent 68a01c3 commit 5460a72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/pages/Login.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function Login() {
2020
const handleGoogleLogin = async (authResponse) => {
2121
try {
2222
if (authResponse.code) {
23-
const response = await axios.post(`${baseURL}/api/google`, {
23+
const response = await axios.post(`${baseURL}api/google`, {
2424
code: authResponse.code,
2525
});
2626
localStorage.setItem("user", JSON.stringify(response.data));

0 commit comments

Comments
 (0)