Document portal env and log SNI failures
Restore VITE_API_URL to :8080 in .env.example with notes for local Vite (:5174 + proxy target). Log compliance portal lookup errors in the SNI middleware with context. Signed-off-by: Émile Ré <emile@probo.com>
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
# Browser hits the Vite origin; /graphql is proxied (see vite.config.ts).
|
||||
VITE_API_URL=http://localhost:5174
|
||||
# GraphQL API origin. Default matches other apps (probod on :8080). For local
|
||||
# Vite development, set this to http://localhost:5174 so the browser hits the
|
||||
# Vite origin and /graphql is proxied (see vite.config.ts).
|
||||
VITE_API_URL=http://localhost:8080
|
||||
|
||||
# Compliance-portal HTTPS origin (<slug> is the compliance portal slug).
|
||||
COMPLIANCE_PORTAL_PROXY_TARGET=https://<slug>.probopage.localhost
|
||||
# Vite /graphql proxy target (compliance-portal HTTPS origin; <slug> is the
|
||||
# portal slug). Required for local Vite development — uncomment and set the
|
||||
# slug when running the app locally (see vite.config.ts).
|
||||
# COMPLIANCE_PORTAL_PROXY_TARGET=https://<slug>.probopage.localhost
|
||||
|
||||
Reference in New Issue
Block a user