fix(admin): serve assets under /admin base for shared-domain deploy
Dokploy Path /admin on the customer app host needs Vite base /admin/ so index.html loads /admin/assets instead of user-app root. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -20,6 +20,9 @@ DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGR
|
||||
API_PORT=3000
|
||||
ADMIN_PANEL_PORT=5180
|
||||
USER_APP_PORT=5181
|
||||
# Vite public base for admin-panel. Default /admin/ when it shares the
|
||||
# customer domain (Dokploy Path: /admin). Set to / if admin has its own host.
|
||||
ADMIN_PANEL_BASE=/admin/
|
||||
|
||||
# API Configuration (kept for any tooling that still reads bare PORT)
|
||||
PORT=3000
|
||||
|
||||
Reference in New Issue
Block a user