Review #689: the CTA fallback was a throwaway address (settings.contact_email, a Nominatim User-Agent contact — NOT a lead inbox). Unset env on first deploy → client's заявка with PII drafts to a stranger, lead silently lost. Fix: CONTACT_EMAIL = env only (trimmed, no fallback); render the «Оставить заявку» CTA ONLY when leadEnabled (email configured). PDF + transparency unaffected. tsc clean. |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| .dockerignore | ||
| Dockerfile | ||
| next.config.ts | ||
| package.json | ||
| pnpm-lock.yaml | ||
| tsconfig.json | ||