0a9588abb7
- Add pagination support to findAll (page, limit query params) - Add findByTemplateId method to service - Add GET /by-template/:templateId endpoint to controller - Service already includes CRUD for QuestionBank and QuestionBankItem
15 lines
390 B
Bash
15 lines
390 B
Bash
# API base URL (relative path to backend)
|
|
VITE_API_BASE_URL=/api
|
|
|
|
# Allowed hosts for API connection (comma-separated)
|
|
# Example: VITE_ALLOWED_HOSTS=localhost,127.0.0.1,example.com
|
|
VITE_ALLOWED_HOSTS=localhost,127.0.0.1,0.0.0.0
|
|
|
|
# Vite server configuration
|
|
VITE_PORT=13001
|
|
VITE_HOST=0.0.0.0
|
|
VITE_BACKEND_URL=http://localhost:3001
|
|
|
|
# Interface language (zh, en, ja)
|
|
VITE_DEFAULT_LANGUAGE=en
|