chore: Update API endpoint port from 3000 to 4000 for message submission.

This commit is contained in:
Van Leemput Dayron
2025-12-15 19:10:56 +01:00
parent cbbfe40d1b
commit 5dec349259

View File

@@ -27,7 +27,7 @@ const EraseData = () => {
try {
// Using absolute URL for localhost dev, in prod simple /api might work if proxied or configured
// Assuming localhost:3000 for backend based on previous steps
await axios.post('http://localhost:3000/api/messages', {
await axios.post('http://localhost:4000/api/messages', {
nom: formData.nom,
prenom: formData.prenom,
email: formData.email,