commit
This commit is contained in:
parent
a23fa2a709
commit
4808822058
5 changed files with 75 additions and 10 deletions
|
@ -22,14 +22,14 @@ export default function Register() {
|
|||
}
|
||||
|
||||
try {
|
||||
const response = await axios.post("http://localhost:3000/api/v1/auth/register", {
|
||||
const response = await axios.post("http://leizour.fr:3000/api/v1/auth/register", {
|
||||
username: username,
|
||||
name: name,
|
||||
lastname: lastname,
|
||||
password: password
|
||||
})
|
||||
|
||||
const loginResponse = await axios.post("http://localhost:3000/api/v1/auth/login", {
|
||||
const loginResponse = await axios.post("http://leizour.fr:3000/api/v1/auth/login", {
|
||||
username: username,
|
||||
password: password
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue