diff --git a/README.md b/README.md index 0bc19b9..06b05ce 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ npm run typecheck # type-check only Create `.env` (gitignored) pointing at the gateway: ``` -VITE_ZINO_API_URL=https://dev.getzino.in +VITE_ZINO_API_URL=https://qa.getzino.in ``` Sign in with a platform user (e.g. `admin@getzino.com` / `Zino`); the JWT is diff --git a/src/main.tsx b/src/main.tsx index 662a631..2c1ea29 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -5,7 +5,7 @@ import { App } from './App'; import { ZinoProvider } from './api/provider'; import './styles/styles.css'; -const baseUrl = import.meta.env.VITE_ZINO_API_URL || 'https://dev.getzino.in'; +const baseUrl = import.meta.env.VITE_ZINO_API_URL || 'https://qa.getzino.in'; // Keep client routes under Vite's base (e.g. /lead-to-policy) so a refresh on // an in-app route hits the preview's per-slug SPA fallback. '/' in dev. const routerBase = import.meta.env.BASE_URL.replace(/\/$/, '');