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>
6 lines
227 B
Bash
6 lines
227 B
Bash
# Same-origin in dev (Vite proxies to the real API — avoids CORS)
|
|
VITE_API_BASE_URL=https://nademitex.montest.ir/server/api
|
|
# بدون سرور هم میشود وارد شد
|
|
VITE_USE_MOCK_AUTH=false
|
|
VITE_BASE_PATH=/admin/
|