- corretto sendemail password... l'ho cambiata. e ho messo dei controlli

This commit is contained in:
Surya Paolo
2025-07-29 12:53:28 +02:00
parent f26ae170bb
commit 32210bb96a
10 changed files with 1918 additions and 1693 deletions

View File

@@ -52,7 +52,7 @@ router.post('/track-pageview', authenticate_noerror, async (req, res) => {
await pageView.save();
res.status(200).json({ message: 'Visita registrata' });
res.status(200).json({ message: '' });
} catch (error) {
console.error('Errore nel salvataggio della visita:', error);
res.status(500).json({ error: 'Impossibile registrare la visita' });