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