Share customer session cookies with the storefront and polish business settings.

Keep JWT login mirrored on the tenant cookie domain, improve e-payment settings UX, and add a storefront link from the customer sidebar.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alireza Hassani
2026-08-25 16:40:52 +03:30
co-authored by Cursor
parent c289de5d2e
commit dc570c1e7f
20 changed files with 463 additions and 159 deletions
+3
View File
@@ -5,3 +5,6 @@ VITE_API_BASE_URL=http://localhost:3000/api/v1
# Leave unset for multi-tenant dev — tenant is resolved from hostname
# (e.g. customer.sanihome.ir → sanihome.ir, customer.safeteb.com → safeteb.com).
# VITE_BUSINESS_DOMAIN=sanihome.ir
# Optional storefront origin (local Next often needs an explicit port).
# VITE_WEBSITE_ORIGIN=http://sanihome.com:3001