Changeset 09ee2bd in Klonkt for .env.example
- Timestamp:
- 06/23/2026 09:25:42 PM (3 months ago)
- Branches:
- main
- Children:
- f99bbe8
- Parents:
- 45271b7
- File:
-
- 1 edited
-
.env.example (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
.env.example
r45271b7 r09ee2bd 1 1 NODE_ENV=development 2 2 PORT=3000 3 SESSION_SECRET=change-me-to-a-strong-random-string-min-32-chars 3 # Secret used to sign login-session cookies. Leave EMPTY to auto-generate a strong 4 # one on first start (saved to storage/.session-secret, stays stable across 5 # restarts/updates). Or set your own: openssl rand -hex 32 6 SESSION_SECRET= 4 7 DATABASE_PATH=./storage/database.sqlite 5 8 MEDIA_PATH=./storage/media 6 9 7 # Canonical public URL of this site (scheme + host, no path/slash). Used for 8 # links in emails (password reset) instead of request headers — prevents 9 # host-header spoofing. Not set? Then it falls back to the request host (dev). 10 PUBLIC_BASE_URL=https://example.com 10 # Canonical public URL of this site (scheme + host, no trailing slash), e.g. 11 # https://yourdomain.com . Used to build correct links in emails (password reset) 12 # and OAuth redirects instead of trusting request headers (anti-spoofing). 13 # Optional: leave empty and it falls back to the request host (fine for local/dev); 14 # set it for production so email/login links point at the right place. 15 PUBLIC_BASE_URL= 11 16 12 17 # ── Administrator ───────────────────────────────────────────────────
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)