Stop baking the local Vite URL into storefront builds when CUSTOMER_ORIGIN is unset. Co-authored-by: Cursor <cursoragent@cursor.com>
7 lines
304 B
Bash
7 lines
304 B
Bash
# Used by `next build` on the websites VM (production).
|
|
# Local `next dev` still prefers `.env.local`.
|
|
NEXT_PUBLIC_API_BASE_URL=https://api.meshkee.com/api/v1
|
|
NEXT_PUBLIC_DOMAIN=sanihome.ir
|
|
NEXT_PUBLIC_CUSTOMER_ORIGIN=https://customer.sanihome.ir
|
|
NEXT_PUBLIC_BUSINESS_ORIGIN=https://business.sanihome.ir
|