Read by the web app (pages, browser title, analytics tag), the API (emails, prices, promo codes) and the legal pages. Change it, then restart (pnpm dev) or republish.
Field
Type
Used for
name
string
Navbar logo alt text, browser title, email sender name (“Name you@domain”), {site} in texts
owner
string
Footer copyright, default blog author, operator named in the legal pages
defaultLocale
"id" | "en"
Language on first visit and of all emails/API messages. Visitors can switch in the footer (stored in their browser)
tagline
{ id, en }
Footer text under the name; meta description for search engines
hero.title, hero.highlight, hero.subtitle
{ id, en }
Home page headline (highlight is the coloured second line); title also goes into the browser tab
logo.path, logo.version
string
File in artifacts/learnspace/public/. Bump version whenever you replace the file (browser caches)
contactEmail
string
Legal pages, emails
externalLinks
{ label: { id, en }, href }[]
Footer “Links” column; empty array hides it
googleAnalyticsId
string
G-XXXXXXX adds the Google tag; empty = no analytics. The privacy page mentions analytics only when set
GET /api/config/features reports { payments, discord, email } so you can check what the server sees.
Tuning
Variable
Default
Purpose
LOG_LEVEL
info
API log level (pino)
PAYMENT_RECONCILE_INTERVAL_MINUTES
10
How often unfinished payments are re-checked with Midtrans
PAYMENT_RECONCILE_STALE_MINUTES
30
Age at which a pending payment is re-checked
WEBINAR_REMINDER_INTERVAL_MINUTES
15
How often webinar reminder emails are considered
Where to put them
Local: copy .env.example to .env. pnpm dev, pnpm db:push and pnpm db:seed read it.
Replit: secrets in Tools → Secrets; non-secret values may also live in .replit under [userenv.shared] (both environments), [userenv.development] or [userenv.production]. Published deployments have their own copy of secrets: check them in the deployment settings.
Own server: an EnvironmentFile for systemd, or your host’s secret settings (see 08).