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>
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
# Same-origin in dev (Vite proxies to the real API — avoids CORS)
|
||||
VITE_API_BASE_URL=/server/api
|
||||
Reference in New Issue
Block a user