chore: Update API endpoint port from 3000 to 4000 for message submission.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user