Ship VMID 7811 API (assistance, contact, Stripe checkout), wire donate and forms to API with accessible success UI, static LCP shell with deferred React mount, and perf gate tooling (P0 72/2600ms; world-class 85/2500ms tracked separately). Co-authored-by: Cursor <[email protected]>
20 lines
509 B
Bash
20 lines
509 B
Bash
# mim-api — VMID 7811 (mim-api-1 @ 192.168.11.36:3001)
|
|
PORT=3001
|
|
NODE_ENV=production
|
|
MIM_PUBLIC_URL=https://mim4u.org
|
|
MIM_DATA_DIR=/var/lib/mim-api/data
|
|
|
|
# Stripe (required for live donations)
|
|
STRIPE_SECRET_KEY=sk_live_...
|
|
STRIPE_WEBHOOK_SECRET=whsec_...
|
|
|
|
# Receipt / intake notifications (optional — logs if unset)
|
|
SMTP_HOST=
|
|
SMTP_PORT=587
|
|
SMTP_USER=
|
|
SMTP_PASS=
|
|
MIM_NOTIFY_EMAIL=[email protected]
|
|
|
|
# CORS (comma-separated origins; default mim4u.org)
|
|
MIM_CORS_ORIGINS=https://mim4u.org,https://www.mim4u.org
|