- Added `NEXT_PUBLIC_APP_URL` to `.env.example` for app URL configuration. - Updated `README.md` to document the new `NEXT_PUBLIC_APP_URL` variable. - Improved CSS to support light and dark color schemes. - Refactored intake link actions to utilize the new app URL and handle token generation more efficiently. - Enhanced public intake route to validate work area selection. - Updated `IntakeLinksPanel` to allow copying of generated links. - Improved error handling and user experience in `BriefPreviewPublic` and `IntakePublic` components. - Refined theme synchronization and toggle components for better user preference management.
17 lines
818 B
Text
17 lines
818 B
Text
# Copy to .env.local and fill in real values. .env.local is gitignored.
|
|
#
|
|
# NEVER put real credentials in this file. It is tracked by git, so anything
|
|
# written here is published to every clone and lives in history forever.
|
|
|
|
# The PocketBase instance. This one is public by design — the browser connects
|
|
# to it directly — so the URL itself is not a secret.
|
|
NEXT_PUBLIC_PB_URL=https://pocketbase.example.com
|
|
|
|
# Public address of this app. Used as a fallback when a link is generated
|
|
# without a browser Origin header. Set this to your production HTTPS domain.
|
|
NEXT_PUBLIC_APP_URL=https://planner.example.com
|
|
|
|
# Superuser credentials, used server-side only by scripts/setup-remote.ts,
|
|
# scripts/seed-demo.ts, and the /api/client/* route handlers.
|
|
PB_SUPERUSER_EMAIL=you@example.com
|
|
PB_SUPERUSER_PASSWORD=replace-me
|