-
-
Notifications
You must be signed in to change notification settings - Fork 254
Expand file tree
/
Copy path.dev.vars.example
More file actions
16 lines (13 loc) · 717 Bytes
/
.dev.vars.example
File metadata and controls
16 lines (13 loc) · 717 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Local development environment variables for `wrangler pages dev`.
# Copy this file to `.dev.vars` (gitignored) and fill in real values.
#
# For the Node entry (`npm run dev` / Docker), these same variables must be
# exported in your shell or supplied via docker run -e / .env.
# Required: better-auth signing secret. Generate with: openssl rand -base64 32
BETTER_AUTH_SECRET=replace-with-a-long-random-string
# Optional: public base URL the server is reachable at.
# Defaults to http://localhost:8222 in Node entry.
BETTER_AUTH_URL=http://localhost:8222
# Optional: comma-separated list of origins allowed to call the API.
# Defaults to http://localhost:5173 in Node entry.
TRUSTED_ORIGINS=http://localhost:5173