Files
fabric_trade_admin/.env.development
T
safavimohadeseh78andCursor 47c7d1dc27 Add Vite API proxy and harden admin HTTP client.
Support relative API base URL in development, clearer network errors, and ASCII phone digits on login.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-08 11:50:19 +02:00

3 lines
98 B
Bash

# Same-origin in dev (Vite proxies to the real API — avoids CORS)
VITE_API_BASE_URL=/server/api