File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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" )
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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" )
You can’t perform that action at this time.
0 commit comments