Validate sessions against the API, honor configurable base paths, and route unknown pages to 404. Keep development ports stable so user and admin apps cannot be confused. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
11 lines
263 B
Bash
11 lines
263 B
Bash
VITE_API_BASE_URL=https://nademitex.montest.ir/server/api
|
|
|
|
# سرور محلی (بعد از migrate + seed):
|
|
# VITE_API_BASE_URL=http://127.0.0.1:3000/api
|
|
#
|
|
# یا با پروکسی Vite:
|
|
# VITE_API_BASE_URL=/server/api
|
|
|
|
VITE_USE_MOCK_AUTH=false
|
|
VITE_BASE_PATH=/
|