mirror of
https://github.com/saltbo/zpan.git
synced 2026-08-28 15:51:29 +08:00
22 lines
923 B
Plaintext
22 lines
923 B
Plaintext
# Local development secrets for `wrangler dev` / `vite dev`.
|
|
# Copy this file to `.dev.vars` (gitignored) and fill in real values.
|
|
|
|
# Required: better-auth signing secret. Generate with: openssl rand -base64 32
|
|
BETTER_AUTH_SECRET=
|
|
|
|
# Local ZPan URL.
|
|
BETTER_AUTH_URL=http://localhost:5185
|
|
TRUSTED_ORIGINS=http://localhost:5185
|
|
# Optional comma-separated hosts accepted by the Vite development server.
|
|
# Cloudflare Quick Tunnel (*.trycloudflare.com) is already allowed in development.
|
|
ZPAN_DEV_ALLOWED_HOSTS=
|
|
|
|
# Local ZPan Cloud URL.
|
|
ZPAN_CLOUD_URL=http://localhost:5186
|
|
|
|
# Trusted license signing public keys (PASERK k4.public.*, comma-separated).
|
|
# Dev keys are configured here — NOT hardcoded in source — so a leaked dev key is
|
|
# rotated via config and never trusted by production builds. Pair this with the
|
|
# matching LICENSE_SIGNING_KEY in zpan-cloud/.dev.vars (run `npm run gen-keypair`).
|
|
ZPAN_LICENSE_PUBLIC_KEYS=
|