Skip to content

Commit 4116cef

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

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

LoginSignUp/SignIn.jsx

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

2424
try{
25-
const res = await axios.post('http://localhost:8081/SignIn', LoginData)
25+
const res = await axios.post('http://localhost:8081/auth/SignIn', LoginData)
2626

2727
const loginToken = res.data.Token;
2828

LoginSignUp/SignUp.jsx

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

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

0 commit comments

Comments
 (0)