fix: point API base at qa.getzino.in (dev renamed to qa)
This commit is contained in:
parent
9f49d03031
commit
b3b037cb6e
@ -5,7 +5,7 @@ import { App } from './App';
|
|||||||
import { ZinoProvider } from './api/provider';
|
import { ZinoProvider } from './api/provider';
|
||||||
import './styles/styles.css';
|
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
|
// 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.
|
// an in-app route hits the preview's per-slug SPA fallback. '/' in dev.
|
||||||
const routerBase = import.meta.env.BASE_URL.replace(/\/$/, '');
|
const routerBase = import.meta.env.BASE_URL.replace(/\/$/, '');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user