This commit is contained in:
Marces
2025-02-28 21:03:48 +01:00
parent 883c51c323
commit 1ac171a4d7
82 changed files with 283 additions and 1615 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ function Register({ setIsLoggedIn }) {
const handleRegister = async (e) => {
e.preventDefault();
try {
const res = await axios.post('http://localhost:5000/register', { username, email, password });
const res = await axios.post('https://congenial-waddle-9w9749vg9q9cr49-5000.app.github.dev/register', { username, email, password });
setMessage(res.data.message);
setIsLoggedIn(true);
navigate('/');