Skip to content

Commit ffe18d8

Browse files
BackendExpertJehanKandyAnupa1998
committed
Update
Co-Authored-By: JehanKandy <[email protected]> Co-Authored-By: Anupa Gamage <[email protected]>
1 parent a5cadb3 commit ffe18d8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

LoginSignUpTW/SignIn.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const SignIn = () => {
1919
// login to system
2020

2121
try{
22-
const res = await axios.post('http://localhost:8081/SignIn', LoginData)
22+
const res = await axios.post('http://localhost:8081/auth/SignIn', LoginData)
2323

2424
const loginToken = res.data.Token;
2525

LoginSignUpTW/SignUp.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const SignUp = () => {
1919
// signup to system
2020

2121
try{
22-
const res = await axios.post('http://localhost:8081/SignUp', SignUpData)
22+
const res = await axios.post('http://localhost:8081/auth/SignUp', SignUpData)
2323
.then(res => {
2424
if(res.data.Status === "Success"){
2525
alert("Registation Successfull")

0 commit comments

Comments
 (0)