This commit is contained in:
Lukian LEIZOUR 2024-06-02 18:04:03 +02:00
parent a23fa2a709
commit 4808822058
5 changed files with 75 additions and 10 deletions

View file

@ -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
})