Skip to content

Commit 266de75

Browse files
BackendExpertJehanKandyAnupa1998
committed
Update
Co-Authored-By: JehanKandy <[email protected]> Co-Authored-By: Anupa Gamage <[email protected]>
1 parent 9502ed3 commit 266de75

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
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")

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)