Configura il form per usare /api/contact di default, aggiunge API server-side con verifica Turnstile opzionale e invio Resend in live mode, e documenta variabili ambiente in README/.env.example. Made-with: Cursor
11 lines
306 B
Plaintext
11 lines
306 B
Plaintext
PUBLIC_CONTACT_FORM_ACTION_URL=/api/contact
|
|
PUBLIC_CONTACT_FORM_SUCCESS_REDIRECT=http://localhost:4321/#contatti
|
|
PUBLIC_CONTACT_FORM_MAILTO=
|
|
PUBLIC_CONTACT_TURNSTILE_SITE_KEY=
|
|
|
|
CONTACT_FORM_MODE=dev
|
|
CONTACT_FORM_RESEND_API_KEY=
|
|
CONTACT_FORM_FROM_EMAIL=
|
|
CONTACT_FORM_TO_EMAIL=
|
|
CONTACT_TURNSTILE_SECRET_KEY=
|