Expose PocketBase URL to client-side for OIDC auth
Some checks failed
Deploy / deploy (push) Failing after 6m37s

POCKETBASE_URL was only available server-side, causing the login page
to fall back to localhost:8090 in the browser. Renamed to
NEXT_PUBLIC_POCKETBASE_URL so Next.js bundles it into client code.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-11 17:33:52 +00:00
parent 6ebd9788e1
commit 3567fbafd7
6 changed files with 9 additions and 8 deletions

View File

@@ -18,7 +18,7 @@ Run these after implementing to get immediate feedback:
## Operational Notes
- Database: PocketBase at `POCKETBASE_URL` env var
- Database: PocketBase at `NEXT_PUBLIC_POCKETBASE_URL` env var
- Garmin tokens encrypted with AES-256 using `ENCRYPTION_KEY` (32 chars)
- Path aliases: `@/*` maps to `./src/*`
- Pre-commit hooks: Biome lint + Vitest tests via Lefthook