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:
s.esmaeili
2026-10-31 22:53:10 +03:30
co-authored by Cursor
parent 22c7e31438
commit 09c17a9045
153 changed files with 149 additions and 140 deletions
+3
View File
@@ -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