Skip to content

Commit

Permalink
remove endpoint in login page
Browse files Browse the repository at this point in the history
  • Loading branch information
Oris482 committed Jun 24, 2022
1 parent 3f861cc commit 08e4626
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/Pages/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const Login = () => {
}
try {
// console.log(inputId, inputPassword);
const res = await axios.post("http://localhost:8080/api/auth/login", {
const res = await axios.post("/api/auth/login", {
id: inputId,
password: inputPassword,
});
Expand Down

0 comments on commit 08e4626

Please sign in to comment.