Point production login/checkout at customer.sanihome.ir.

Stop baking the local Vite URL into storefront builds when CUSTOMER_ORIGIN is unset.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alireza Hassani
2026-08-25 16:53:19 +03:30
co-authored by Cursor
parent f0d8276c3e
commit 10c70359aa
2 changed files with 30 additions and 9 deletions
+6
View File
@@ -0,0 +1,6 @@
# 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