From 584f943b0a86933065bb107df3e465a18c5006c1 Mon Sep 17 00:00:00 2001 From: Javaxman Date: Wed, 29 Jul 2026 17:09:06 +0200 Subject: [PATCH] Sincronizza le Variable contatti nel wrangler locale. Allinea FROM/TO al dashboard Cloudflare e ripristina CONTACT_FORM_FROM_EMAIL in deploy. Co-authored-by: Cursor --- .env.example | 6 +++--- .gitignore | 1 + wrangler.jsonc | 4 ++++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.env.example b/.env.example index 72998d5..8b86c78 100644 --- a/.env.example +++ b/.env.example @@ -6,8 +6,8 @@ PUBLIC_SITE_URL=http://localhost:4321 CONTACT_FORM_MODE=dev CONTACT_FORM_FROM_EMAIL=no-reply@nexstudio.ai -CONTACT_FORM_TO_EMAIL=info@nexstudio.ai -CONTACT_FORM_TO_EMAIL_INFO=info@nexstudio.ai +CONTACT_FORM_TO_EMAIL=javaxman69@gmail.com +CONTACT_FORM_TO_EMAIL_INFO=javaxman69@gmail.com CONTACT_FORM_TO_EMAIL_PRIVACY= CONTACT_FORM_TO_EMAIL_CAREERS= CONTACT_TURNSTILE_SECRET_KEY= @@ -16,6 +16,6 @@ CONTACT_TURNSTILE_SECRET_KEY= # In produzione: NEWSLETTER_MODE=live (oppure CONTACT_FORM_MODE=live come fallback) NEWSLETTER_MODE=dev NEWSLETTER_FROM_EMAIL=no-reply@nexstudio.ai -NEWSLETTER_NOTIFY_TO_EMAIL=info@nexstudio.ai +NEWSLETTER_NOTIFY_TO_EMAIL=javaxman69@gmail.com NEWSLETTER_ADMIN_TOKEN= NEWSLETTER_TURNSTILE_SECRET_KEY= diff --git a/.gitignore b/.gitignore index 8ed16bc..028a017 100644 --- a/.gitignore +++ b/.gitignore @@ -16,6 +16,7 @@ pnpm-debug.log* # environment variables .env .env.production +.dev.vars # macOS-specific files .DS_Store diff --git a/wrangler.jsonc b/wrangler.jsonc index 6bb523c..5fade4b 100644 --- a/wrangler.jsonc +++ b/wrangler.jsonc @@ -10,6 +10,10 @@ "observability": { "enabled": true }, + "vars": { + "CONTACT_FORM_FROM_EMAIL": "no-reply@nexstudio.ai", + "CONTACT_FORM_TO_EMAIL": "javaxman69@gmail.com" + }, "d1_databases": [ { "binding": "NEWSLETTER_DB",