Files
fabric_trade_user/.env.development
T
safavimohadeseh78andCursor 72cc6000f1 Improve auth, checkout, and API client for real backend.
Wire OTP and cart/catalog to the API with Vite proxy, fix resend/register name persistence, harden order submit errors, and polish OTP and cart footer UI.

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

5 lines
173 B
Bash

# Same-origin in dev (Vite proxies to the real API — avoids CORS)
VITE_API_BASE_URL=/server/api
# Set true only for offline local OTP (code 1234)
VITE_USE_MOCK_AUTH=false