add certificate
This commit is contained in:
@@ -3,7 +3,7 @@ const PROD_API_ORIGIN = 'https://api.alrahmaisgl.org'
|
||||
/**
|
||||
* Laravel API base URL.
|
||||
*
|
||||
* **Vite dev:** same-origin `/api/...`; `vite.config.ts` proxies to the API (default `http://192.168.3.100:8000`).
|
||||
* **Vite dev:** same-origin `/api/...`; `vite.config.ts` proxies to the API (default `http://localhost:8080`).
|
||||
* Override proxy target with **`VITE_PROXY_API`**. **`VITE_API_ORIGIN` is not used in dev** (avoids cross-origin from the browser).
|
||||
*
|
||||
* **Production build:** `VITE_API_ORIGIN` if set, else `PROD_API_ORIGIN`.
|
||||
|
||||
Reference in New Issue
Block a user