feat(admin): set /admin base path for reverse proxy deployment

Configure Vite base, Vue Router history, axios baseURL and container
Nginx to serve the admin panel under /admin/ path prefix.

🤖 Generated with [Qoder][https://qoder.com]
This commit is contained in:
2026-06-09 09:18:16 +08:00
parent 5279a7f831
commit b1ef7dc6f9
5 changed files with 25 additions and 7 deletions

8
apps/api/.env Normal file
View File

@@ -0,0 +1,8 @@
DATABASE_URL=postgresql://thebet365:thebet365@localhost:5432/thebet365
REDIS_URL=redis://localhost:6379
JWT_SECRET=dev-secret-change-in-production
JWT_PLAYER_EXPIRES=24h
JWT_ADMIN_EXPIRES=2h
JWT_AGENT_EXPIRES=8h
PORT=3000
NODE_ENV=development