fix(admin-panel): serve assets under /admin/ for same-host path deploy
Default Vite base to /admin/ (ADMIN_PANEL_BASE) so Dokploy Path+/admin + Strip Path resolves assets instead of the user app root. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -19,6 +19,9 @@ DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGR
|
||||
# ---------------------------------------------------------------------------
|
||||
API_PORT=3000
|
||||
ADMIN_PANEL_PORT=5180
|
||||
# Vite `base` for the admin panel. Default `/admin/` for same-host path deploy
|
||||
# (Dokploy: Path `/admin` + Strip Path). Use `/` only for a dedicated subdomain.
|
||||
ADMIN_PANEL_BASE=/admin/
|
||||
USER_APP_V2_PORT=5182
|
||||
|
||||
# API Configuration (kept for any tooling that still reads bare PORT)
|
||||
|
||||
Reference in New Issue
Block a user