Expose PocketBase URL to client-side for OIDC auth
Some checks failed
Deploy / deploy (push) Failing after 6m37s
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:
@@ -37,7 +37,7 @@ let
|
||||
export RESEND_API_KEY="re_build_placeholder"
|
||||
export ENCRYPTION_KEY="build_placeholder_32_chars_long!"
|
||||
export CRON_SECRET="build_placeholder_secret"
|
||||
export POCKETBASE_URL="http://localhost:8090"
|
||||
export NEXT_PUBLIC_POCKETBASE_URL="http://localhost:8090"
|
||||
export APP_URL="https://phaseflow.v.paler.net"
|
||||
|
||||
# Install dependencies
|
||||
|
||||
Reference in New Issue
Block a user