[READ-ONLY] Mirror of https://github.com/ewanc26/website-comm-template. A SvelteKit + TailwindCSS commission website template.
sveltekit
template
website
1.1 kB
26 lines
1# Environment variables — copy this file to .env and fill in the values.
2# Never commit .env to version control.
3
4# ------------------------------------------------------------------
5# Email provider — set emailProvider in src/lib/config.ts to switch.
6# Default is 'resend'.
7# ------------------------------------------------------------------
8
9# === Resend (emailProvider: 'resend') =============================
10# Your Resend API key. Get one at https://resend.com/api-keys
11RESEND_API_KEY=re_...
12
13# === SMTP (emailProvider: 'smtp') =================================
14# Also run: pnpm add nodemailer
15# SMTP_HOST=smtp.example.com
16# SMTP_PORT=587
17# SMTP_USER=user@example.com
18# SMTP_PASS=secret
19# SMTP_SECURE=false # set to 'true' for port 465 / implicit TLS
20
21# ------------------------------------------------------------------
22# Envelope overrides — if not set, the values in src/lib/config.ts
23# are used. These work regardless of which provider is active.
24# ------------------------------------------------------------------
25# CONTACT_EMAIL_TO=you@yourdomain.com
26# CONTACT_EMAIL_FROM=My Site <noreply@yourdomain.com>