Skip to main content
Most “it’s broken” turns out to be an unset or mismatched env var — see Configuration.

Sign-in / email

In dev, EMAIL_DEV_MODE=true prints the 6-digit code to the API console — it isn’t emailed. Read it there.
Set SMTP_*, and set up SPF, DKIM, DMARC on the sending domain — without them, codes land in spam and nobody can sign in.
By design: auth is a six-digit email code; sign-in and sign-up are the same act. Don’t add a password flow.

Admin panel

Set ADMIN_URL in the API’s env to the admin’s exact origin — the API adds it to CORS automatically, and a mismatch reads as an auth bug.
Use ADMIN_LOGIN / ADMIN_PASSWORD from the API env, or an emailed staff code (printed to the API console in dev). The first admin comes from ADMIN_EMAILS.
The admin is pinned to TypeScript 6 (vue-tsc doesn’t support the TS 7 native compiler yet) — don’t bump it to 7.

App ↔ API

Check VITE_BACKEND_URL. On non-localhost the client enforces HTTPS; and the API’s CORS_ORIGINS must list the app’s web origin.
The API answered unknown_client: the app’s VITE_CLIENT_ID isn’t in the API’s CLIENT_IDS. Make them match (and rebuild the app if you changed VITE_CLIENT_ID).
They’re inlined at build time — rebuild (for the admin Docker image, rebuild with the right --build-arg).
Declare every VITE_* in src/vite-env.d.ts — a typo is not a type error, it just arrives undefined.
You changed VITE_APP_NAME — it namespaces all local storage/settings/cache. Set it once, before launch.

Push & subscriptions

It’s off until configured — set ONESIGNAL_APP_ID + ONESIGNAL_API_KEY (server). Identity is the account user.id as the OneSignal External ID on both sides; delivered means OneSignal reported recipients >= 1. See Push & VoIP.
Billing is off until configured — set the RevenueCat keys (client) + REVENUECAT_WEBHOOK_AUTH (server). To develop with no account, set VITE_REVENUECAT_MOCK=true. See Billing.
Store IAP on iOS/Android; the web/desktop build uses a RevenueCat web engine (Web Billing/Stripe or Paddle) — a dashboard choice, same client code. See Billing.

Native builds

Use JDK 21 (Android Studio’s bundled JBR) and SDK 36. “Duplicate resources” on *.js.gz means !*.gz:!*.br went missing from ignoreAssetsPattern in android/app/build.gradle — it keeps the web build’s pre-compressed copies out of the APK.
Correct — Capacitor 8 generates an SPM-based project. Needs Xcode 26+.
They can’t — test CallKit / VoIP pushes on a physical device. See Push & VoIP.
chrome://inspect / Safari shows nothing? By design for release builds — Capacitor makes only debug builds inspectable. Install the app with Run from Android Studio / Xcode (a debug build) to use the inspector.

Other

Set PUBLIC_SUPPORT_ENDPOINT to the full URL of your API’s POST /v1/support (e.g. https://api.example.com/v1/support) and rebuild; empty (default) = demo mode (“email us” notice), no posting. A CORS error in the browser console means the site’s origin is missing from the API’s CORS_ORIGINS. A 429 is the per-IP limit (5 messages per 10 minutes).
The API emails each message to its MAIL_REPLY_TO — in dev (EMAIL_DEV_MODE=true) it’s printed to the API console instead; in prod check SMTP_*. Submissions that fill the hidden honeypot field or arrive within 3 seconds of the page loading are dropped silently as bots.
src/pages/ru/ is generated by astro-i18next generate at build and git-ignored — edit the English source; RU regenerates.
The advisories (a critical among them) come from dev-only tooling — chiefly @ionic/cli, the tool behind npm run serve, via its transitive dependencies. They are not in your shipped app: npm audit --omit=dev reports 0. Nothing there bundles into the iOS / Android / web / desktop build, so the product is unaffected. @ionic/cli has no clean upstream fix; it’s a known Ionic CLI issue. Prefer not to depend on it? npm run serve also works if you drop @ionic/cli and point the script at vite directly — you’d lose the ionic … CLI commands.
That’s intentional. The kit ships ready-to-use pieces — an exported handler/composable/component with no current consumer is there for you to wire into your product as you build it, not leftover dead code.