Files
kamaskandClaude Sonnet 5.5 bf72af9ef4 feat(dev): proxy /pb to PocketBase in ng serve
Add proxy.conf.mjs mirroring `location /pb/` from nginx: the prefix is
stripped, target comes from PB_URL (empty value falls back to the default,
same as the SSR provider). Cover the config with tests in tests/lint and
update docs.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 20:24:13 +03:00

7 lines
269 B
Bash

# Copy to .env and fill in. .env is not committed.
# PocketBase address for the SSR server and the ng serve /pb/ proxy (ng serve reads it from the environment, not .env).
PB_URL=http://127.0.0.1:8090
PB_DIR=pocketbase/pb_data
PB_SUPERUSER_EMAIL=
PB_SUPERUSER_PASSWORD=