Default the Web App to :8090 (BFF) in the API Server
Point the API Server's Web App references at the production BFF port instead of the Vite dev port (5173): the WEBAPP_URL default probed by /api/status, and the panel's Web App URL / allowed-origins placeholders. Update .env.example and the README env table to match. Rebuild the embedded admin panel dist. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
2eeff15925
commit
367113f538
@@ -21,11 +21,11 @@ POCKETBASE_ADMIN_PASSWORD=
|
||||
# CORS allowed origins for browser clients (comma separated, or * for any).
|
||||
# Native mobile apps are not subject to CORS. Editable at runtime from the panel
|
||||
# (Web App section), which writes the change back into this file.
|
||||
CORS_ALLOW_ORIGINS=http://localhost:5173
|
||||
CORS_ALLOW_ORIGINS=http://localhost:8090
|
||||
|
||||
# Web App address, probed by GET /api/status and shown on the panel. Editable at
|
||||
# runtime from the panel (Web App section).
|
||||
WEBAPP_URL=http://localhost:5173
|
||||
WEBAPP_URL=http://localhost:8090
|
||||
|
||||
# PocketBase auth collection holding app users (default: users).
|
||||
AUTH_USERS_COLLECTION=users
|
||||
|
||||
Reference in New Issue
Block a user